This is compatible package which allow you to use @reatom/core-v1 with react. All docs is here.
@reatom/core-v1
For React 16 and 17 you need to setup batching by yourself in the root fo your app
For react-dom
react-dom
import { unstable_batchedUpdates } from 'react-dom'import { setupBatch } from '@reatom/react-v1' setupBatch(unstable_batchedUpdates)``
For react-native
react-native
import { unstable_batchedUpdates } from 'react-native'import { setupBatch } from '@reatom/react-v1' setupBatch(unstable_batchedUpdates)``