Allow handle complex state in React using userReducer
npm install use-local-state> Allow handle complex state in React using userReducer
 
``bash`
npm install --save use-local-state
`jsx
import React, { Component } from 'react'
import { useLocalState } from 'use-local-state'
const Example = () => {
const [state, dispatchState] = useLocalState({
name: "Josh",
lastName: 'Kurl'
})
return (
MIT © yanielbf
---
This hook is created using create-react-hook.