Examples

Base React template

https://github.com/artalar/reatom-react-ts

Data fetching and React

https://codesandbox.io/s/reatomasync-9t0x42?file=/src/model.ts

Data fetching and Svelte

https://svelte.dev/repl/0613e23e6aa74246afad6d726d6c5a33?version=3.55.0

Migration from RTK

https://github.com/artalar/RTK-entities-basic-example/pull/1

Search component

This example is close to real life and shows the complexity of interactive UI. It uses async package to handle classic search edge cases and made perfect UX.

https://codesandbox.io/s/reatom-react-search-component-l4pe8q?file=/src/App.tsx

Dynamic atom creation

This example shoes how to use atomization to improve editable fields performance, persists it to localStorage.

https://codesandbox.io/s/reatom-react-atomization-k39vrs?file=/src/App.tsx

All codesandboxes

You could find more interesting examples in our sandbox folder