Pinned Loading
-
-
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.