📚 More information at the Reaksi Website ➞
Reaksi is a React like library with the same modern API. This is an attempt to understand how React works under the hood by recreating many of its features.
The easiest way to get started with reaksi is to clone the template from GitHub repository :
npx degit nettohadi/reaksi-template my-reaksi-project
cd my-reaksi-project
npm install
If you prefer to use Typescript, you can clone the template for Typescript :
npx degit nettohadi/reaksi-template-ts my-reaksi-project
cd my-reaksi-project
npm install
To watch for changes and test the project locally :
npm run dev
To build the project for production :
npm run build
This is an ongoing process, which means some hooks are not yet implemented. Below are the available hooks in Reaksi :
- useState
- useEffect
- useContext
- useRef
- useSelector (Redux)
- useDispatch (Redux)
- useRouter
For now, you can refer to React doc to find out how above hooks are used.