This example uses the React Hooks as a means to manage state for a simple Todo list. The Hook that is employed in this example is useReducer
and is based loosely on the Redux Todo List example. This application uses the Create React App also referred to as CRA.
Please find a runing example in Codesandbox https://codesandbox.io/s/github/josgraha/todo-list-hooks/tree/master/
We recommend using yarn
. Please run the standard CRA npm script.
yarn start