A lightweight recoil debugger
- Install in your project the observer package:
yarn add recoil-debugger-hook
- Use it under your RecoilRoot call
import DebugObserver from 'recoil-debugger-hook';
// your entrypoint component
const App = () => {
}
export default () => (
<RecoilRoot>
<DebugObserver /> // add here
<App />
</RecoilRoot>
);
- clone recoil-debugger repository and run:
yarn && yarn start
- open
localhost:3000
in your browser
- Dockerfile
- light/dark mode
- analytics page with graph of atom call per second
- set atoms states from debugger
- custom port