Skip to content
intermediate

Challenge: Build a Custom useLocalStorage Hook

Implement this from the stub. Hidden tests grade the behaviour you write, not the comments you leave.

Challenge: useLocalStorage Hook

import { useState, useEffect } from 'react';

// Your implementation here
challenge — implement from scratchCtrl+↵ submits · Ctrl+Shift+↵ runsstarter code