react-recoil-flipper-client
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

react-recoil-flipper-client

NPM JavaScript Style Guide

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](https://github.com/BenJeau/flipper-plugin-react-recoil) plugin, it must be installed from within Flipper.

Install

yarn add react-recoil-flipper-client

Or

npm install --save react-recoil-flipper-client

Usage

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>
  )
}

License

MIT © BenJeau

Readme

Keywords

none

Package Sidebar

Install

npm i react-recoil-flipper-client

Weekly Downloads

4

Version

1.0.1

License

MIT

Unpacked Size

10.3 kB

Total Files

9

Last publish

Collaborators

  • benjeau