This is the binding for the Solid view framework. The reason to use these bindings is the Reatom ecosystem. We have a lot of packages and helpers to handle basic UI logic, including network caching, data persistence, and complex flow description.
Also, you need to be installed
Read the core docs first for production usage.
The first time, you need to add the Reatom provider to the root of your application.
Now you will be able to use Reatom hooks.
If you need to get the
ctx from the context, you could use the shortcut hook
ctx in the component body, you can manipulate subscriptions more flexibly with Solid’s
onCleanup, and so on.
Dynamic atom creation
This example shoes how to use atomization to improve editable fields performance, persists it to localStorage.