react-useStateRef
react-useStateRef copied to clipboard
useRef and UseState together!
Results
3
react-useStateRef issues
Sort by
recently updated
recently updated
newest added
Thanks for hooks,Is very nice ! But when I try to introduce this TS file into the project, TS throws the following exception 
Having access the the types without hoop jumping is useful. Zero logic changes, nothing new, just exporting some existing types. ```typescript import useStateRef, {ReadOnlyRefObject} from 'react-usestateref'; const SomeComponent = ()...