Block or Report
Block or report diegocardoso93
Report abuse
Contact GitHub support about this user’s behavior. Learn more about reporting abuse.
Report abusePinned
-
-
CodinGame-challenges
CodinGame-challenges Publicmy solutions for some codingame challenges
JavaScript
-
simple localstorage hook abstraction
simple localstorage hook abstraction 1export default function usePersist(target) {
2const setItem = (key, value) =>
3localStorage.setItem(key, JSON.stringify(value));
45const set = target
-
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.