RS-X is built around a simple idea:
Write expressions against your model, and let updates propagate automatically with fine-grained reactivity. It is easy to use and way more powerfull than signals or any other existing reactive framework. It paves the way for a truly reactive UI framework
This is the biggest release of RS-X so far, bringing major improvements in performance, developer experience, and tooling.
What’s new in RS-X 2.0
-
Built-in compiler: https://www.rsxjs.com/docs/core-concepts/compiler
- Parse expressions at compile time
- Optimize execution of expressions
- Type-check expressions against your model → errors detected at compile time instead of runtime
- Lazy loading support (configurable per expression or via groups)
- Configurable preparsing & compiling (enabled by default)
-
VS Code integration
- RS-X expressions are treated as embedded JavaScript inside TypeScript
- Full IntelliSense support for expressions
-
Performance: https://www.rsxjs.com/docs/core-concepts/performance
- Massive performance improvements
-
CLI: https://www.rsxjs.com/docs/core-concepts/cli
- Easy setup and integration with frameworks
Getting started
1) Install the CLI
npm i -g @rs-x/cli
2) Verify installation
rsx -v
The CLI will also attempt to install the VS Code extension automatically. You can verify this in the Extensions panel by searching for “rs-x”. If needed, you can install it manually using the .vsix file. For example on Windows:
C:\Users\robertsanders\AppData\Roaming\npm\node_modules@rs-x\cli\rs-x-vscode-extension-2.0.3.vsix
3) Create a new project (example)
rsx project angular
See other supported frameworks: https://www.rsxjs.com/
4) Add RS-X to an existing project
rsx init
Curious to hear your thoughts and feedback—would love your input.
🔗 Docs: https://www.rsxjs.com
🔗 GitHub: https://lnkd.in/e93WfGWh
Top comments (0)