react.js simple hook theme code example Example: react hooks const [state, setState] = useState(initialState);