Romain Dev🅰️ & Sommeil (@Rom1_Dev_Sleep) header
Romain Dev🅰️ & Sommeil (@Rom1_Dev_Sleep) profile picture

Dev Angular ☄️ & Mécanicien du sommeil 🛠️ Je partage mes découvertes et mon expérience en programmation ainsi que sur le sommeil. 🐕🦮🐈‍⬛🐈🐢

Joined March 2012
Photo by Romain Dev🅰️ & Sommeil (@Rom1_Dev_Sleep)Photo by Romain Dev🅰️ & Sommeil (@Rom1_Dev_Sleep)Photo by Romain Dev🅰️ & Sommeil (@Rom1_Dev_Sleep)Photo by Romain Dev🅰️ & Sommeil (@Rom1_Dev_Sleep)Photo by Romain Dev🅰️ & Sommeil (@Rom1_Dev_Sleep)Photo by Romain Dev🅰️ & Sommeil (@Rom1_Dev_Sleep)Photo by Romain Dev🅰️ & Sommeil (@Rom1_Dev_Sleep)Photo by Romain Dev🅰️ & Sommeil (@Rom1_Dev_Sleep)Photo by Romain Dev🅰️ & Sommeil (@Rom1_Dev_Sleep)Photo by Romain Dev🅰️ & Sommeil (@Rom1_Dev_Sleep)
Replying to @devinjameson
@devinjameson 1/7 First of all, I really appreciate what you're doing with Foldkit. It feels like a genuine attempt to raise the bar in frontend development, both technically and architecturally. I do have a few reservations, though.
2
78
6/7 I could be wrong about some of these points. These are just my initial impressions from reading the documentation, without having actually built anything with Foldkit yet. I'm curious to see how these architectural choices play out in practice.
1
7
7/7 That being said, Foldkit already feels more thoughtful and ambitious than many mainstream frontend solutions, which seem to keep iterating within the same established paradigms rather than questioning them. Really glad to see this kind of initiative!
8
Hi @RyanCarniato I came across a really interesting pattern in Solid.js v2 that I think is pretty amazing. With the help of AI, I quickly implemented a similar mechanism, probably less mature, but with one aspect I really like: stronger type safety around computed values that
1
1
96
depend on async state. If I try to use one of those computed values outside the block that handles the fallback while the async state is unresolved, I get a compile-time error. I don’t think Solid.js covers this case today, but I might be wrong,
1
40
As you can see in the screenshot below, I’ve set up my craftService utility. Its purpose is to replace my store (called craft). What’s its goal? 1 - Stay based on Angular’s injection system 2 - Easily pass inputs 3 - Track dependencies between services ...
1
130
But by going through this system, I know that ApiService is a dependency of my current service. And the best part is that I went much, much further by integrating most of the features I’ve been presenting in my recent posts. It’s still experimental, but the result is insane!
1
56
I still need to spend some time designing the services with providers, everything around that, and the system to make testing as easy as possible. I’ll do a recap of all the features this system offers. I’m genuinely blown away by how good it looks ❤️
38
Here is my (experimental) state management library Handles server state Handles business exceptions 100% declarative and reactive Designed for composing logic at multiple levels 100% type-safe, with types inferred whenever possible ng-angular-stack.github.io/c…
1
1
60
The idea: each “primitive” has its own responsibility and encapsulates its logic. This logic can be composed through insertions at multiple levels. A store is available to orchestrate these primitives, and can itself be composed of other stores.
1
42
From my experience: It’s the library that lets you write the least code to achieve the most (thanks to the declarative approach).
31
craft-ng — Type-Safe Reactive State Management for Angular 𝐏𝐫𝐨𝐦𝐨𝐭𝐞𝐬 𝐝𝐞𝐜𝐥𝐚𝐫𝐚𝐭𝐢𝐯𝐞 𝐚𝐧𝐝 𝐜𝐨𝐦𝐩𝐨𝐬𝐚𝐛𝐥𝐞 𝐜𝐨𝐝𝐞 𝐰𝐢𝐭𝐡 𝐥𝐨𝐠𝐢𝐜 𝐦𝐚𝐧𝐚𝐠𝐞𝐦𝐞𝐧𝐭 𝐮𝐭𝐢𝐥𝐢𝐭𝐢𝐞𝐬 ng-angular-stack.github.io/c… #angular
1
62
Romain Dev🅰️ & Sommeil retweeted
🔴⚠️ [URGENT] Comprenant l’ampleur de la mobilisation agricole qui vient, le gouvernement français a fait pression pour censurer notre compte. Help @elonmusk (svp identifiez-le massivement en commentaire pour qu’il empêche ça)
1,568
6,662
373
14,019
313,439
Romain Dev🅰️ & Sommeil retweeted
Replying to @superkevin54
🔄 407 mensonges documentés de Macron. Ce n'est pourtant que la pointe de l'iceberg : à un par jour depuis 2017, le dossier ferait 3000 pages. Voici l'autopsie de la mort de Vᵉ République. 👇 giak.substack.com/p/407-mens…
108
1,325
123
2,178
260,168