Answer by Plargato for reset recoil state to default not working
useResetRecoilState returns a function that resets the recoil state. It should be used like this:import {filter} from '..appl/recoil/atoms';import { useResetRecoilState } from 'recoil';onSignOut = ()...
View Articlereset recoil state to default not working
tried to reset recoil state to its default value using useResetRecoilStatebut not workingThis is my codeimport {filter} from '..appl/recoil/atoms';import { useResetRecoilState } from 'recoil';let...
View Article
More Pages to Explore .....