https://github.com/xcodebuild/any-inspector
Inspect any state with Redux DevTools.
https://github.com/xcodebuild/any-inspector
Last synced: 3 months ago
JSON representation
Inspect any state with Redux DevTools.
- Host: GitHub
- URL: https://github.com/xcodebuild/any-inspector
- Owner: xcodebuild
- License: mit
- Created: 2022-08-11T02:54:15.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-08-11T03:09:47.000Z (almost 3 years ago)
- Last Synced: 2025-01-28T02:34:00.095Z (5 months ago)
- Language: TypeScript
- Size: 166 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# any-inspector
Inspect any state with Redux DevTools.
## Usage
```tsx
import { AnyInspector } from 'any-inspector';```
## Example
```tsx
import { AnyInspector } from 'any-inspector';
const App = () => {
const [count, setCount] = useState(1);return (
<>
setCount(count + 1)}>{count}{/* This line for inspect your state */}
>
);
};
```## Other Example
- [AnyInspector on Antd From - CodeSandbox](https://codesandbox.io/s/anyinspector-on-antd-from-13qt0b?file=/index.js)
