Reatom — state manager
@ReatomJS
Followers
181
Following
26
Media
65
Statuses
145
The ultimate state manager.
Joined October 2019
Reatom for simple and complex forms: https://t.co/eBisWqqrVk
v1000.reatom.dev
Getting started with forms in Reatom
1
0
0
Reatom as a framework: https://t.co/i83tjQWYfy
v1000.reatom.dev
Type-safe routing with automatic data loading in Reatom
1
0
0
We have incredible transaction features with automatic and manual management! Have you seen anything like this anywhere else? The best deal for an optimistic UI.
0
0
1
What do you like more?
Observables would be a cool addition to the web platform Here's an example of drag & drop implementation from @dannymoerkerke 's Modern Web Weekly newsletter, that already works in Chrome/Safari More expressive than addEventListener/removeEventListener 👌
2
1
7
1
1
3
It happens very rarely... We added a new Zen principle! - Compatibility is the hardest thing, but it is worth it.
1
1
2
Angular's approach, with `data.set` / `data.update`, makes finding updates *super* easy, and we love that! We decided not to add `.update` but instead overload `.set` to keep searches as fast and simple as possible.
1
0
0
`.value` (like Preact/Vue) is barely different from Reatom's `()`. It uses more characters, TS still doesn't split getter/setter references, so our problem persists. Splitting into a tuple (like React/Solid) isn't ideal. Passing both getter and setter together is a pain—typing
1
0
1
Let's discover the new Reatom API! In the earliest version, the interface was: `data()` for get, `data(123)` for set. It's a super concise API that keeps code clean and reduces "system" characters. But there's an issue: it's hard to find where the atom is updated vs. just read.
1
0
1
the browser doesn't freeze and you can play with this test. Which can't be said about other solutions. I can recommend @ReatomJS , it's really good, you can use it with React, you can without. A lot of additional functionality (hello @tan_stack )
0
1
2