1.0.11 • Published 11 months ago

@theohagos/recoil-observer v1.0.11

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

recoil-observer

Recoil Observer through Redux DevTools This version updated to support React 18 and Recoil 0.0.7

Installation

yarn add @theohagos/recoil-observer

or

npm install @theohagos/recoil-observer

Usage

import App from './App.tsx';
import { RecoilRoot } from 'recoil';
import { RecoilObserver } from '@theohagos/recoil-observer';

<RecoilRoot>
    <RecoilObserver env="development" />
    <App />
</RecoilRoot>

API

propsdescriptiondefault valuetype
envreact env value (only gets mounted if value is development) this is a requried fielddevelopmentstring
excludeList of recoil keys to exclude from Redux Devtool[]string[]?
nameThe name that will appear on Redux DevtoolRecoil State Observerstring?
maxAgeRedux Devtool prop100number?
traceRedux Devtool propfalseboolean?

Redux Devtool View

Open up redux devtools and observe state changes in redux devtools, replay recoil state as well as time-travel

Screen Shot 2021-12-17 at 23 18 52

1.0.9

11 months ago

1.0.11

11 months ago

1.0.10

11 months ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago

0.1.7

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago