Get Started
Welcome to reactive/js
a Model-View-ViewModel (MVVM) library for building React applications.
reactive/js
is a lightweight library that provides a simple way to bind data to the React component using a ViewModel.
It very easy to use and focus on the MVVM pattern.
Why?
React is a great library for building user interfaces. It is simple, fast and easy to use. But React has a problem with re-rendering. Any change in the state or props of the component will cause the component to re-render. We cannot control the re-rendering process. So, if we implement incorrect logic in the component, it will cause the component to re-render many times. It will affect the performance of the application.
Solution
To fix this problem, reactive/js
to separate the logic from the component and use the ViewModel to control the logic.
Manually control the re-rendering process.
Prerequisites
To work with reactive/js
, you will need to have an understanding of React fundamentals and Typescript Decorator.
If you're new to React or need a refresher, you can dive in or brush up at React and Typescript Decorator.
What you'll need
- Node.js version 16 or above