Skip to content

v3.0.27

Latest
Compare
Choose a tag to compare
@ox-harris ox-harris released this 15 Nov 03:34
· 144 commits to master since this release

Introducing Stateful JS

We're now in our third generation! And this is the best yet of this expedition! Look what we've done:

Name Change

  • Name: We have rebranded from Reflex Functions to Stateful JS. This change reflects two key aspects of the project: Mental Model and Scope.

Expanded Scope

  • Scope: Stateful JS is no longer confined to being just a function-level feature; it has evolved into a comprehensive program-level feature. Explore the updated documentation to see the expanded capabilities.

Core Revamp

  • Core: The entire core of Stateful JS has been rewritten from the ground up, transitioning from a compile-time magic to a more dynamic runtime extension for JavaScript. While our core shares some similarities with the concept of signals, we maintain our distinct identity. Stay tuned for an upcoming blog post for a deep dive into the core changes.

New Capabilities

  • New Features: Stateful JS now introduces powerful features, including reactive early returns, streaming returns, reactive break and continue statements, live iterations with for...of and for...in, and full support for module scripts. Enjoy the flexibility of working with import and export statements in real-time.

Enhanced API

  • API Evolution: We've moved beyond the concept of manual state management via a reflect() method. Stateful JS is now entirely self-driven, automatically reflecting changes. This major leap forward is made possible by embracing the Observer API.

We're excited about the possibilities these changes unlock and are eager to see how Stateful JS v3.0.0 enhances your development experience. As always, feel free to explore the documentation for in-depth insights and details.

Happy coding with Stateful JS!