Stator 2.0 is out 🎉 🌶️ We removed two-way binding read() is now the only display primitive. Its the same in a server template or a client island - the compiler picks the right mechanism for each. Writes are typed events that machines declares and the compiler checks statorjs.dev #StatorJS #webdev
Post
statorjs.devStator · the server-canonical JavaScript framework built on state machinesA web framework where state machines are the unit of composition and the DOM renders where its state lives — almost always the server.
Why? Two-way binding wrote state through a side channel that skipped guards and types. In 2.0 the machine definition is the complete list of what can happen. pnpm create stator my-app --template registration Our codebase held exactly one two-way binding. Migration was one line ✂️
0 reposts1 like
No replies yet.