Flipper React Provider to visualize Recoil.js atoms and logs of its changes. This package is meant to be used with the flipper-plugin-react-recoil
plugin, it must be installed from within Flipper.
yarn add react-recoil-flipper-client
Or
npm install --save react-recoil-flipper-client
Simply put the <RecoilFlipperClient />
anywhere as a children of the <RecoilRoot>
to send Recoil.js events to Flipper.
import { RecoilRoot } from 'recoil';
import RecoilFlipperClient from 'react-recoil-flipper-client'
const App: React.FC = () => {
return (
<RecoilRoot>
<RecoilFlipperClient />
...
</RecoilRoot>
)
}
MIT © BenJeau