Skip to content

v0.2.10

Latest
Compare
Choose a tag to compare
@salvoravida salvoravida released this 01 Sep 15:16
· 4 commits to master since this release

v0.2.10

Enable it on your app:

import {RecoilDevTools} from 'recoil-toolkit'

ReactDOM.render(
   <RecoilRoot>
      // enable forceSerialize if you have issues not serializable data
     <RecoilDevTools forceSerialize={false} />. 
      <App />
   </RecoilRoot>,
   document.getElementById('root'),
);
     // pass your own serializer instead of the default JSON.stringify if you have issue with circular data
     <RecoilDevTools forceSerialize={true} serializer={JSON.stringify} />.