├── .gitignore ├── LICENSE ├── README.md ├── chapter_01 ├── 01_usecount.js ├── 02_globalstate.js ├── 03_usestate.js ├── 04_usereducer.js ├── 05_usestate_with_usereducer.js ├── 06_usereducer_with_usestate.js ├── 07_usereducer_init.js └── 08_usereducer_inline.js ├── chapter_02 ├── 01_localstates.js ├── 02_lift_state_up.js ├── 03_lift_content_up.js └── 04_globalstate.js ├── chapter_03 ├── 01_using-usestate-without-usecontext │ ├── package.json │ ├── public │ │ └── index.html │ ├── src │ │ ├── App.tsx │ │ ├── index.tsx │ │ └── react-app-env.d.ts │ ├── tsconfig.json │ └── yarn.lock ├── 02_using-usecontext-with-static-value │ ├── package.json │ ├── public │ │ └── index.html │ ├── src │ │ ├── App.tsx │ │ ├── index.tsx │ │ └── react-app-env.d.ts │ ├── tsconfig.json │ └── yarn.lock ├── 03_using-usestate-with-usecontext │ ├── package.json │ ├── public │ │ └── index.html │ ├── src │ │ ├── App.tsx │ │ ├── index.tsx │ │ └── react-app-env.d.ts │ ├── tsconfig.json │ └── yarn.lock ├── 04_how-context-propagation-works │ ├── package.json │ ├── public │ │ └── index.html │ ├── src │ │ ├── App.tsx │ │ ├── index.tsx │ │ └── react-app-env.d.ts │ ├── tsconfig.json │ └── yarn.lock ├── 05_pitfall-when-using-context-for-object │ ├── package.json │ ├── public │ │ └── index.html │ ├── src │ │ ├── App.tsx │ │ ├── index.tsx │ │ └── react-app-env.d.ts │ ├── tsconfig.json │ └── yarn.lock ├── 06_creating-small-state-pieces │ ├── package.json │ ├── public │ │ └── index.html │ ├── src │ │ ├── App.tsx │ │ ├── index.tsx │ │ └── react-app-env.d.ts │ ├── tsconfig.json │ └── yarn.lock ├── 07_creating-one-state-with-userreducer-and-propagate-with-multiple-contexts │ ├── package.json │ ├── public │ │ └── index.html │ ├── src │ │ ├── App.tsx │ │ ├── index.tsx │ │ └── react-app-env.d.ts │ ├── tsconfig.json │ └── yarn.lock ├── 08_creating-custom-hook-and-provider-component │ ├── package.json │ ├── public │ │ └── index.html │ ├── src │ │ ├── App.tsx │ │ ├── index.tsx │ │ └── react-app-env.d.ts │ ├── tsconfig.json │ └── yarn.lock ├── 09_factory-pattern-with-custom-hook │ ├── package.json │ ├── public │ │ └── index.html │ ├── src │ │ ├── App.tsx │ │ ├── index.tsx │ │ └── react-app-env.d.ts │ ├── tsconfig.json │ └── yarn.lock └── 10_avoiding-provider-nesting-reduceright │ ├── package.json │ ├── public │ └── index.html │ ├── src │ ├── App.tsx │ ├── index.tsx │ └── react-app-env.d.ts │ ├── tsconfig.json │ └── yarn.lock ├── chapter_04 ├── 01_naive_solution_to_module_state │ ├── package.json │ ├── public │ │ └── index.html │ ├── src │ │ ├── App.tsx │ │ ├── index.tsx │ │ └── react-app-env.d.ts │ ├── tsconfig.json │ └── yarn.lock ├── 02_use_store_with_subscription │ ├── package.json │ ├── public │ │ └── index.html │ ├── src │ │ ├── App.tsx │ │ ├── index.tsx │ │ └── react-app-env.d.ts │ ├── tsconfig.json │ └── yarn.lock ├── 03_use_store_with_selector │ ├── package.json │ ├── public │ │ └── index.html │ ├── src │ │ ├── App.tsx │ │ ├── index.tsx │ │ └── react-app-env.d.ts │ ├── tsconfig.json │ └── yarn.lock └── 04_use_subscription_with_store │ ├── package.json │ ├── public │ └── index.html │ ├── src │ ├── App.tsx │ ├── index.tsx │ └── react-app-env.d.ts │ ├── tsconfig.json │ └── yarn.lock ├── chapter_05 └── 01_combine_context_and_subscription │ ├── package.json │ ├── public │ └── index.html │ ├── src │ ├── App.tsx │ ├── index.tsx │ └── react-app-env.d.ts │ ├── tsconfig.json │ └── yarn.lock ├── chapter_07 ├── 01_counter_example │ ├── package.json │ ├── public │ │ └── index.html │ ├── src │ │ ├── App.tsx │ │ ├── index.tsx │ │ └── react-app-env.d.ts │ ├── tsconfig.json │ └── yarn.lock └── 02_todo_example │ ├── package.json │ ├── public │ └── index.html │ ├── src │ ├── App.tsx │ ├── index.tsx │ └── react-app-env.d.ts │ ├── tsconfig.json │ └── yarn.lock ├── chapter_08 ├── 01_comparison │ ├── package.json │ ├── public │ │ └── index.html │ ├── src │ │ ├── AppWithContext.tsx │ │ ├── AppWithJotai.tsx │ │ ├── index.tsx │ │ └── react-app-env.d.ts │ ├── tsconfig.json │ └── yarn.lock ├── 02_counter │ ├── package.json │ ├── public │ │ └── index.html │ ├── src │ │ ├── App.tsx │ │ ├── index.tsx │ │ └── react-app-env.d.ts │ ├── tsconfig.json │ └── yarn.lock ├── 03_provider │ ├── package.json │ ├── public │ │ └── index.html │ ├── src │ │ ├── App.tsx │ │ ├── index.tsx │ │ └── react-app-env.d.ts │ ├── tsconfig.json │ └── yarn.lock ├── 04_todo_app_single_atom │ ├── package.json │ ├── public │ │ └── index.html │ ├── src │ │ ├── App.tsx │ │ ├── index.tsx │ │ └── react-app-env.d.ts │ ├── tsconfig.json │ └── yarn.lock └── 05_todo_app_atoms_in_atom │ ├── package.json │ ├── public │ └── index.html │ ├── src │ ├── App.tsx │ ├── index.tsx │ └── react-app-env.d.ts │ ├── tsconfig.json │ └── yarn.lock ├── chapter_09 ├── 01_counter │ ├── package.json │ ├── public │ │ └── index.html │ ├── src │ │ ├── App.tsx │ │ ├── index.tsx │ │ └── react-app-env.d.ts │ ├── tsconfig.json │ └── yarn.lock ├── 02_todo_app │ ├── package.json │ ├── public │ │ └── index.html │ ├── src │ │ ├── App.tsx │ │ ├── index.tsx │ │ └── react-app-env.d.ts │ ├── tsconfig.json │ └── yarn.lock └── 03_another_todo_app │ ├── package.json │ ├── public │ └── index.html │ ├── src │ ├── App.tsx │ ├── index.tsx │ └── react-app-env.d.ts │ ├── tsconfig.json │ └── yarn.lock ├── chapter_10 ├── 01_bare_context │ ├── package.json │ ├── public │ │ └── index.html │ ├── src │ │ ├── App.tsx │ │ ├── index.tsx │ │ └── react-app-env.d.ts │ ├── tsconfig.json │ └── yarn.lock ├── 02_with_usestate │ ├── package.json │ ├── public │ │ └── index.html │ ├── src │ │ ├── App.tsx │ │ ├── index.tsx │ │ └── react-app-env.d.ts │ ├── tsconfig.json │ └── yarn.lock ├── 03_with_usereducer │ ├── package.json │ ├── public │ │ └── index.html │ ├── src │ │ ├── App.tsx │ │ ├── index.tsx │ │ └── react-app-env.d.ts │ ├── tsconfig.json │ └── yarn.lock └── 04_with_reactredux │ ├── package.json │ ├── public │ └── index.html │ ├── src │ ├── App.tsx │ ├── index.tsx │ └── react-app-env.d.ts │ ├── tsconfig.json │ └── yarn.lock └── chapter_11 ├── 01_redux_counter ├── package.json ├── public │ └── index.html ├── src │ ├── App.tsx │ ├── app │ │ └── store.ts │ ├── features │ │ └── counter │ │ │ ├── Counter.tsx │ │ │ └── counterSlice.ts │ ├── index.tsx │ └── react-app-env.d.ts ├── tsconfig.json └── yarn.lock ├── 02_zustand_counter ├── package.json ├── public │ └── index.html ├── src │ ├── App.tsx │ ├── Counter.tsx │ ├── index.tsx │ ├── react-app-env.d.ts │ └── store.ts ├── tsconfig.json └── yarn.lock ├── 03_recoil_charcounter ├── package.json ├── public │ └── index.html ├── src │ ├── App.tsx │ ├── index.tsx │ └── react-app-env.d.ts ├── tsconfig.json └── yarn.lock ├── 04_jotai_charcounter ├── package.json ├── public │ └── index.html ├── src │ ├── App.tsx │ ├── index.tsx │ └── react-app-env.d.ts ├── tsconfig.json └── yarn.lock ├── 05_mobx_timer ├── package.json ├── public │ └── index.html ├── src │ ├── App.tsx │ ├── index.tsx │ └── react-app-env.d.ts ├── tsconfig.json └── yarn.lock └── 06_valtio_timer ├── package.json ├── public └── index.html ├── src ├── App.tsx ├── index.tsx └── react-app-env.d.ts ├── tsconfig.json └── yarn.lock /.gitignore: -------------------------------------------------------------------------------- 1 | *~ 2 | *.swp 3 | node_modules 4 | build 5 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/README.md -------------------------------------------------------------------------------- /chapter_01/01_usecount.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_01/01_usecount.js -------------------------------------------------------------------------------- /chapter_01/02_globalstate.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_01/02_globalstate.js -------------------------------------------------------------------------------- /chapter_01/03_usestate.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_01/03_usestate.js -------------------------------------------------------------------------------- /chapter_01/04_usereducer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_01/04_usereducer.js -------------------------------------------------------------------------------- /chapter_01/05_usestate_with_usereducer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_01/05_usestate_with_usereducer.js -------------------------------------------------------------------------------- /chapter_01/06_usereducer_with_usestate.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_01/06_usereducer_with_usestate.js -------------------------------------------------------------------------------- /chapter_01/07_usereducer_init.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_01/07_usereducer_init.js -------------------------------------------------------------------------------- /chapter_01/08_usereducer_inline.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_01/08_usereducer_inline.js -------------------------------------------------------------------------------- /chapter_02/01_localstates.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_02/01_localstates.js -------------------------------------------------------------------------------- /chapter_02/02_lift_state_up.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_02/02_lift_state_up.js -------------------------------------------------------------------------------- /chapter_02/03_lift_content_up.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_02/03_lift_content_up.js -------------------------------------------------------------------------------- /chapter_02/04_globalstate.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_02/04_globalstate.js -------------------------------------------------------------------------------- /chapter_03/01_using-usestate-without-usecontext/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_03/01_using-usestate-without-usecontext/package.json -------------------------------------------------------------------------------- /chapter_03/01_using-usestate-without-usecontext/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_03/01_using-usestate-without-usecontext/public/index.html -------------------------------------------------------------------------------- /chapter_03/01_using-usestate-without-usecontext/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_03/01_using-usestate-without-usecontext/src/App.tsx -------------------------------------------------------------------------------- /chapter_03/01_using-usestate-without-usecontext/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_03/01_using-usestate-without-usecontext/src/index.tsx -------------------------------------------------------------------------------- /chapter_03/01_using-usestate-without-usecontext/src/react-app-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /chapter_03/01_using-usestate-without-usecontext/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_03/01_using-usestate-without-usecontext/tsconfig.json -------------------------------------------------------------------------------- /chapter_03/01_using-usestate-without-usecontext/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_03/01_using-usestate-without-usecontext/yarn.lock -------------------------------------------------------------------------------- /chapter_03/02_using-usecontext-with-static-value/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_03/02_using-usecontext-with-static-value/package.json -------------------------------------------------------------------------------- /chapter_03/02_using-usecontext-with-static-value/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_03/02_using-usecontext-with-static-value/public/index.html -------------------------------------------------------------------------------- /chapter_03/02_using-usecontext-with-static-value/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_03/02_using-usecontext-with-static-value/src/App.tsx -------------------------------------------------------------------------------- /chapter_03/02_using-usecontext-with-static-value/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_03/02_using-usecontext-with-static-value/src/index.tsx -------------------------------------------------------------------------------- /chapter_03/02_using-usecontext-with-static-value/src/react-app-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /chapter_03/02_using-usecontext-with-static-value/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_03/02_using-usecontext-with-static-value/tsconfig.json -------------------------------------------------------------------------------- /chapter_03/02_using-usecontext-with-static-value/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_03/02_using-usecontext-with-static-value/yarn.lock -------------------------------------------------------------------------------- /chapter_03/03_using-usestate-with-usecontext/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_03/03_using-usestate-with-usecontext/package.json -------------------------------------------------------------------------------- /chapter_03/03_using-usestate-with-usecontext/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_03/03_using-usestate-with-usecontext/public/index.html -------------------------------------------------------------------------------- /chapter_03/03_using-usestate-with-usecontext/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_03/03_using-usestate-with-usecontext/src/App.tsx -------------------------------------------------------------------------------- /chapter_03/03_using-usestate-with-usecontext/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_03/03_using-usestate-with-usecontext/src/index.tsx -------------------------------------------------------------------------------- /chapter_03/03_using-usestate-with-usecontext/src/react-app-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /chapter_03/03_using-usestate-with-usecontext/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_03/03_using-usestate-with-usecontext/tsconfig.json -------------------------------------------------------------------------------- /chapter_03/03_using-usestate-with-usecontext/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_03/03_using-usestate-with-usecontext/yarn.lock -------------------------------------------------------------------------------- /chapter_03/04_how-context-propagation-works/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_03/04_how-context-propagation-works/package.json -------------------------------------------------------------------------------- /chapter_03/04_how-context-propagation-works/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_03/04_how-context-propagation-works/public/index.html -------------------------------------------------------------------------------- /chapter_03/04_how-context-propagation-works/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_03/04_how-context-propagation-works/src/App.tsx -------------------------------------------------------------------------------- /chapter_03/04_how-context-propagation-works/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_03/04_how-context-propagation-works/src/index.tsx -------------------------------------------------------------------------------- /chapter_03/04_how-context-propagation-works/src/react-app-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /chapter_03/04_how-context-propagation-works/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_03/04_how-context-propagation-works/tsconfig.json -------------------------------------------------------------------------------- /chapter_03/04_how-context-propagation-works/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_03/04_how-context-propagation-works/yarn.lock -------------------------------------------------------------------------------- /chapter_03/05_pitfall-when-using-context-for-object/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_03/05_pitfall-when-using-context-for-object/package.json -------------------------------------------------------------------------------- /chapter_03/05_pitfall-when-using-context-for-object/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_03/05_pitfall-when-using-context-for-object/public/index.html -------------------------------------------------------------------------------- /chapter_03/05_pitfall-when-using-context-for-object/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_03/05_pitfall-when-using-context-for-object/src/App.tsx -------------------------------------------------------------------------------- /chapter_03/05_pitfall-when-using-context-for-object/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_03/05_pitfall-when-using-context-for-object/src/index.tsx -------------------------------------------------------------------------------- /chapter_03/05_pitfall-when-using-context-for-object/src/react-app-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /chapter_03/05_pitfall-when-using-context-for-object/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_03/05_pitfall-when-using-context-for-object/tsconfig.json -------------------------------------------------------------------------------- /chapter_03/05_pitfall-when-using-context-for-object/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_03/05_pitfall-when-using-context-for-object/yarn.lock -------------------------------------------------------------------------------- /chapter_03/06_creating-small-state-pieces/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_03/06_creating-small-state-pieces/package.json -------------------------------------------------------------------------------- /chapter_03/06_creating-small-state-pieces/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_03/06_creating-small-state-pieces/public/index.html -------------------------------------------------------------------------------- /chapter_03/06_creating-small-state-pieces/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_03/06_creating-small-state-pieces/src/App.tsx -------------------------------------------------------------------------------- /chapter_03/06_creating-small-state-pieces/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_03/06_creating-small-state-pieces/src/index.tsx -------------------------------------------------------------------------------- /chapter_03/06_creating-small-state-pieces/src/react-app-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /chapter_03/06_creating-small-state-pieces/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_03/06_creating-small-state-pieces/tsconfig.json -------------------------------------------------------------------------------- /chapter_03/06_creating-small-state-pieces/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_03/06_creating-small-state-pieces/yarn.lock -------------------------------------------------------------------------------- /chapter_03/07_creating-one-state-with-userreducer-and-propagate-with-multiple-contexts/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_03/07_creating-one-state-with-userreducer-and-propagate-with-multiple-contexts/package.json -------------------------------------------------------------------------------- /chapter_03/07_creating-one-state-with-userreducer-and-propagate-with-multiple-contexts/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_03/07_creating-one-state-with-userreducer-and-propagate-with-multiple-contexts/public/index.html -------------------------------------------------------------------------------- /chapter_03/07_creating-one-state-with-userreducer-and-propagate-with-multiple-contexts/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_03/07_creating-one-state-with-userreducer-and-propagate-with-multiple-contexts/src/App.tsx -------------------------------------------------------------------------------- /chapter_03/07_creating-one-state-with-userreducer-and-propagate-with-multiple-contexts/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_03/07_creating-one-state-with-userreducer-and-propagate-with-multiple-contexts/src/index.tsx -------------------------------------------------------------------------------- /chapter_03/07_creating-one-state-with-userreducer-and-propagate-with-multiple-contexts/src/react-app-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /chapter_03/07_creating-one-state-with-userreducer-and-propagate-with-multiple-contexts/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_03/07_creating-one-state-with-userreducer-and-propagate-with-multiple-contexts/tsconfig.json -------------------------------------------------------------------------------- /chapter_03/07_creating-one-state-with-userreducer-and-propagate-with-multiple-contexts/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_03/07_creating-one-state-with-userreducer-and-propagate-with-multiple-contexts/yarn.lock -------------------------------------------------------------------------------- /chapter_03/08_creating-custom-hook-and-provider-component/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_03/08_creating-custom-hook-and-provider-component/package.json -------------------------------------------------------------------------------- /chapter_03/08_creating-custom-hook-and-provider-component/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_03/08_creating-custom-hook-and-provider-component/public/index.html -------------------------------------------------------------------------------- /chapter_03/08_creating-custom-hook-and-provider-component/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_03/08_creating-custom-hook-and-provider-component/src/App.tsx -------------------------------------------------------------------------------- /chapter_03/08_creating-custom-hook-and-provider-component/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_03/08_creating-custom-hook-and-provider-component/src/index.tsx -------------------------------------------------------------------------------- /chapter_03/08_creating-custom-hook-and-provider-component/src/react-app-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /chapter_03/08_creating-custom-hook-and-provider-component/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_03/08_creating-custom-hook-and-provider-component/tsconfig.json -------------------------------------------------------------------------------- /chapter_03/08_creating-custom-hook-and-provider-component/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_03/08_creating-custom-hook-and-provider-component/yarn.lock -------------------------------------------------------------------------------- /chapter_03/09_factory-pattern-with-custom-hook/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_03/09_factory-pattern-with-custom-hook/package.json -------------------------------------------------------------------------------- /chapter_03/09_factory-pattern-with-custom-hook/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_03/09_factory-pattern-with-custom-hook/public/index.html -------------------------------------------------------------------------------- /chapter_03/09_factory-pattern-with-custom-hook/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_03/09_factory-pattern-with-custom-hook/src/App.tsx -------------------------------------------------------------------------------- /chapter_03/09_factory-pattern-with-custom-hook/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_03/09_factory-pattern-with-custom-hook/src/index.tsx -------------------------------------------------------------------------------- /chapter_03/09_factory-pattern-with-custom-hook/src/react-app-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /chapter_03/09_factory-pattern-with-custom-hook/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_03/09_factory-pattern-with-custom-hook/tsconfig.json -------------------------------------------------------------------------------- /chapter_03/09_factory-pattern-with-custom-hook/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_03/09_factory-pattern-with-custom-hook/yarn.lock -------------------------------------------------------------------------------- /chapter_03/10_avoiding-provider-nesting-reduceright/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_03/10_avoiding-provider-nesting-reduceright/package.json -------------------------------------------------------------------------------- /chapter_03/10_avoiding-provider-nesting-reduceright/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_03/10_avoiding-provider-nesting-reduceright/public/index.html -------------------------------------------------------------------------------- /chapter_03/10_avoiding-provider-nesting-reduceright/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_03/10_avoiding-provider-nesting-reduceright/src/App.tsx -------------------------------------------------------------------------------- /chapter_03/10_avoiding-provider-nesting-reduceright/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_03/10_avoiding-provider-nesting-reduceright/src/index.tsx -------------------------------------------------------------------------------- /chapter_03/10_avoiding-provider-nesting-reduceright/src/react-app-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /chapter_03/10_avoiding-provider-nesting-reduceright/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_03/10_avoiding-provider-nesting-reduceright/tsconfig.json -------------------------------------------------------------------------------- /chapter_03/10_avoiding-provider-nesting-reduceright/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_03/10_avoiding-provider-nesting-reduceright/yarn.lock -------------------------------------------------------------------------------- /chapter_04/01_naive_solution_to_module_state/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_04/01_naive_solution_to_module_state/package.json -------------------------------------------------------------------------------- /chapter_04/01_naive_solution_to_module_state/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_04/01_naive_solution_to_module_state/public/index.html -------------------------------------------------------------------------------- /chapter_04/01_naive_solution_to_module_state/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_04/01_naive_solution_to_module_state/src/App.tsx -------------------------------------------------------------------------------- /chapter_04/01_naive_solution_to_module_state/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_04/01_naive_solution_to_module_state/src/index.tsx -------------------------------------------------------------------------------- /chapter_04/01_naive_solution_to_module_state/src/react-app-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /chapter_04/01_naive_solution_to_module_state/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_04/01_naive_solution_to_module_state/tsconfig.json -------------------------------------------------------------------------------- /chapter_04/01_naive_solution_to_module_state/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_04/01_naive_solution_to_module_state/yarn.lock -------------------------------------------------------------------------------- /chapter_04/02_use_store_with_subscription/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_04/02_use_store_with_subscription/package.json -------------------------------------------------------------------------------- /chapter_04/02_use_store_with_subscription/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_04/02_use_store_with_subscription/public/index.html -------------------------------------------------------------------------------- /chapter_04/02_use_store_with_subscription/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_04/02_use_store_with_subscription/src/App.tsx -------------------------------------------------------------------------------- /chapter_04/02_use_store_with_subscription/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_04/02_use_store_with_subscription/src/index.tsx -------------------------------------------------------------------------------- /chapter_04/02_use_store_with_subscription/src/react-app-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /chapter_04/02_use_store_with_subscription/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_04/02_use_store_with_subscription/tsconfig.json -------------------------------------------------------------------------------- /chapter_04/02_use_store_with_subscription/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_04/02_use_store_with_subscription/yarn.lock -------------------------------------------------------------------------------- /chapter_04/03_use_store_with_selector/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_04/03_use_store_with_selector/package.json -------------------------------------------------------------------------------- /chapter_04/03_use_store_with_selector/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_04/03_use_store_with_selector/public/index.html -------------------------------------------------------------------------------- /chapter_04/03_use_store_with_selector/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_04/03_use_store_with_selector/src/App.tsx -------------------------------------------------------------------------------- /chapter_04/03_use_store_with_selector/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_04/03_use_store_with_selector/src/index.tsx -------------------------------------------------------------------------------- /chapter_04/03_use_store_with_selector/src/react-app-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /chapter_04/03_use_store_with_selector/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_04/03_use_store_with_selector/tsconfig.json -------------------------------------------------------------------------------- /chapter_04/03_use_store_with_selector/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_04/03_use_store_with_selector/yarn.lock -------------------------------------------------------------------------------- /chapter_04/04_use_subscription_with_store/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_04/04_use_subscription_with_store/package.json -------------------------------------------------------------------------------- /chapter_04/04_use_subscription_with_store/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_04/04_use_subscription_with_store/public/index.html -------------------------------------------------------------------------------- /chapter_04/04_use_subscription_with_store/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_04/04_use_subscription_with_store/src/App.tsx -------------------------------------------------------------------------------- /chapter_04/04_use_subscription_with_store/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_04/04_use_subscription_with_store/src/index.tsx -------------------------------------------------------------------------------- /chapter_04/04_use_subscription_with_store/src/react-app-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /chapter_04/04_use_subscription_with_store/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_04/04_use_subscription_with_store/tsconfig.json -------------------------------------------------------------------------------- /chapter_04/04_use_subscription_with_store/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_04/04_use_subscription_with_store/yarn.lock -------------------------------------------------------------------------------- /chapter_05/01_combine_context_and_subscription/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_05/01_combine_context_and_subscription/package.json -------------------------------------------------------------------------------- /chapter_05/01_combine_context_and_subscription/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_05/01_combine_context_and_subscription/public/index.html -------------------------------------------------------------------------------- /chapter_05/01_combine_context_and_subscription/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_05/01_combine_context_and_subscription/src/App.tsx -------------------------------------------------------------------------------- /chapter_05/01_combine_context_and_subscription/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_05/01_combine_context_and_subscription/src/index.tsx -------------------------------------------------------------------------------- /chapter_05/01_combine_context_and_subscription/src/react-app-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /chapter_05/01_combine_context_and_subscription/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_05/01_combine_context_and_subscription/tsconfig.json -------------------------------------------------------------------------------- /chapter_05/01_combine_context_and_subscription/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_05/01_combine_context_and_subscription/yarn.lock -------------------------------------------------------------------------------- /chapter_07/01_counter_example/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_07/01_counter_example/package.json -------------------------------------------------------------------------------- /chapter_07/01_counter_example/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_07/01_counter_example/public/index.html -------------------------------------------------------------------------------- /chapter_07/01_counter_example/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_07/01_counter_example/src/App.tsx -------------------------------------------------------------------------------- /chapter_07/01_counter_example/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_07/01_counter_example/src/index.tsx -------------------------------------------------------------------------------- /chapter_07/01_counter_example/src/react-app-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /chapter_07/01_counter_example/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_07/01_counter_example/tsconfig.json -------------------------------------------------------------------------------- /chapter_07/01_counter_example/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_07/01_counter_example/yarn.lock -------------------------------------------------------------------------------- /chapter_07/02_todo_example/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_07/02_todo_example/package.json -------------------------------------------------------------------------------- /chapter_07/02_todo_example/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_07/02_todo_example/public/index.html -------------------------------------------------------------------------------- /chapter_07/02_todo_example/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_07/02_todo_example/src/App.tsx -------------------------------------------------------------------------------- /chapter_07/02_todo_example/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_07/02_todo_example/src/index.tsx -------------------------------------------------------------------------------- /chapter_07/02_todo_example/src/react-app-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /chapter_07/02_todo_example/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_07/02_todo_example/tsconfig.json -------------------------------------------------------------------------------- /chapter_07/02_todo_example/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_07/02_todo_example/yarn.lock -------------------------------------------------------------------------------- /chapter_08/01_comparison/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_08/01_comparison/package.json -------------------------------------------------------------------------------- /chapter_08/01_comparison/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_08/01_comparison/public/index.html -------------------------------------------------------------------------------- /chapter_08/01_comparison/src/AppWithContext.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_08/01_comparison/src/AppWithContext.tsx -------------------------------------------------------------------------------- /chapter_08/01_comparison/src/AppWithJotai.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_08/01_comparison/src/AppWithJotai.tsx -------------------------------------------------------------------------------- /chapter_08/01_comparison/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_08/01_comparison/src/index.tsx -------------------------------------------------------------------------------- /chapter_08/01_comparison/src/react-app-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /chapter_08/01_comparison/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_08/01_comparison/tsconfig.json -------------------------------------------------------------------------------- /chapter_08/01_comparison/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_08/01_comparison/yarn.lock -------------------------------------------------------------------------------- /chapter_08/02_counter/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_08/02_counter/package.json -------------------------------------------------------------------------------- /chapter_08/02_counter/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_08/02_counter/public/index.html -------------------------------------------------------------------------------- /chapter_08/02_counter/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_08/02_counter/src/App.tsx -------------------------------------------------------------------------------- /chapter_08/02_counter/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_08/02_counter/src/index.tsx -------------------------------------------------------------------------------- /chapter_08/02_counter/src/react-app-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /chapter_08/02_counter/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_08/02_counter/tsconfig.json -------------------------------------------------------------------------------- /chapter_08/02_counter/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_08/02_counter/yarn.lock -------------------------------------------------------------------------------- /chapter_08/03_provider/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_08/03_provider/package.json -------------------------------------------------------------------------------- /chapter_08/03_provider/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_08/03_provider/public/index.html -------------------------------------------------------------------------------- /chapter_08/03_provider/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_08/03_provider/src/App.tsx -------------------------------------------------------------------------------- /chapter_08/03_provider/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_08/03_provider/src/index.tsx -------------------------------------------------------------------------------- /chapter_08/03_provider/src/react-app-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /chapter_08/03_provider/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_08/03_provider/tsconfig.json -------------------------------------------------------------------------------- /chapter_08/03_provider/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_08/03_provider/yarn.lock -------------------------------------------------------------------------------- /chapter_08/04_todo_app_single_atom/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_08/04_todo_app_single_atom/package.json -------------------------------------------------------------------------------- /chapter_08/04_todo_app_single_atom/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_08/04_todo_app_single_atom/public/index.html -------------------------------------------------------------------------------- /chapter_08/04_todo_app_single_atom/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_08/04_todo_app_single_atom/src/App.tsx -------------------------------------------------------------------------------- /chapter_08/04_todo_app_single_atom/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_08/04_todo_app_single_atom/src/index.tsx -------------------------------------------------------------------------------- /chapter_08/04_todo_app_single_atom/src/react-app-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /chapter_08/04_todo_app_single_atom/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_08/04_todo_app_single_atom/tsconfig.json -------------------------------------------------------------------------------- /chapter_08/04_todo_app_single_atom/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_08/04_todo_app_single_atom/yarn.lock -------------------------------------------------------------------------------- /chapter_08/05_todo_app_atoms_in_atom/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_08/05_todo_app_atoms_in_atom/package.json -------------------------------------------------------------------------------- /chapter_08/05_todo_app_atoms_in_atom/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_08/05_todo_app_atoms_in_atom/public/index.html -------------------------------------------------------------------------------- /chapter_08/05_todo_app_atoms_in_atom/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_08/05_todo_app_atoms_in_atom/src/App.tsx -------------------------------------------------------------------------------- /chapter_08/05_todo_app_atoms_in_atom/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_08/05_todo_app_atoms_in_atom/src/index.tsx -------------------------------------------------------------------------------- /chapter_08/05_todo_app_atoms_in_atom/src/react-app-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /chapter_08/05_todo_app_atoms_in_atom/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_08/05_todo_app_atoms_in_atom/tsconfig.json -------------------------------------------------------------------------------- /chapter_08/05_todo_app_atoms_in_atom/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_08/05_todo_app_atoms_in_atom/yarn.lock -------------------------------------------------------------------------------- /chapter_09/01_counter/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_09/01_counter/package.json -------------------------------------------------------------------------------- /chapter_09/01_counter/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_09/01_counter/public/index.html -------------------------------------------------------------------------------- /chapter_09/01_counter/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_09/01_counter/src/App.tsx -------------------------------------------------------------------------------- /chapter_09/01_counter/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_09/01_counter/src/index.tsx -------------------------------------------------------------------------------- /chapter_09/01_counter/src/react-app-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /chapter_09/01_counter/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_09/01_counter/tsconfig.json -------------------------------------------------------------------------------- /chapter_09/01_counter/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_09/01_counter/yarn.lock -------------------------------------------------------------------------------- /chapter_09/02_todo_app/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_09/02_todo_app/package.json -------------------------------------------------------------------------------- /chapter_09/02_todo_app/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_09/02_todo_app/public/index.html -------------------------------------------------------------------------------- /chapter_09/02_todo_app/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_09/02_todo_app/src/App.tsx -------------------------------------------------------------------------------- /chapter_09/02_todo_app/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_09/02_todo_app/src/index.tsx -------------------------------------------------------------------------------- /chapter_09/02_todo_app/src/react-app-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /chapter_09/02_todo_app/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_09/02_todo_app/tsconfig.json -------------------------------------------------------------------------------- /chapter_09/02_todo_app/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_09/02_todo_app/yarn.lock -------------------------------------------------------------------------------- /chapter_09/03_another_todo_app/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_09/03_another_todo_app/package.json -------------------------------------------------------------------------------- /chapter_09/03_another_todo_app/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_09/03_another_todo_app/public/index.html -------------------------------------------------------------------------------- /chapter_09/03_another_todo_app/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_09/03_another_todo_app/src/App.tsx -------------------------------------------------------------------------------- /chapter_09/03_another_todo_app/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_09/03_another_todo_app/src/index.tsx -------------------------------------------------------------------------------- /chapter_09/03_another_todo_app/src/react-app-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /chapter_09/03_another_todo_app/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_09/03_another_todo_app/tsconfig.json -------------------------------------------------------------------------------- /chapter_09/03_another_todo_app/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_09/03_another_todo_app/yarn.lock -------------------------------------------------------------------------------- /chapter_10/01_bare_context/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_10/01_bare_context/package.json -------------------------------------------------------------------------------- /chapter_10/01_bare_context/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_10/01_bare_context/public/index.html -------------------------------------------------------------------------------- /chapter_10/01_bare_context/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_10/01_bare_context/src/App.tsx -------------------------------------------------------------------------------- /chapter_10/01_bare_context/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_10/01_bare_context/src/index.tsx -------------------------------------------------------------------------------- /chapter_10/01_bare_context/src/react-app-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /chapter_10/01_bare_context/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_10/01_bare_context/tsconfig.json -------------------------------------------------------------------------------- /chapter_10/01_bare_context/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_10/01_bare_context/yarn.lock -------------------------------------------------------------------------------- /chapter_10/02_with_usestate/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_10/02_with_usestate/package.json -------------------------------------------------------------------------------- /chapter_10/02_with_usestate/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_10/02_with_usestate/public/index.html -------------------------------------------------------------------------------- /chapter_10/02_with_usestate/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_10/02_with_usestate/src/App.tsx -------------------------------------------------------------------------------- /chapter_10/02_with_usestate/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_10/02_with_usestate/src/index.tsx -------------------------------------------------------------------------------- /chapter_10/02_with_usestate/src/react-app-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /chapter_10/02_with_usestate/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_10/02_with_usestate/tsconfig.json -------------------------------------------------------------------------------- /chapter_10/02_with_usestate/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_10/02_with_usestate/yarn.lock -------------------------------------------------------------------------------- /chapter_10/03_with_usereducer/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_10/03_with_usereducer/package.json -------------------------------------------------------------------------------- /chapter_10/03_with_usereducer/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_10/03_with_usereducer/public/index.html -------------------------------------------------------------------------------- /chapter_10/03_with_usereducer/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_10/03_with_usereducer/src/App.tsx -------------------------------------------------------------------------------- /chapter_10/03_with_usereducer/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_10/03_with_usereducer/src/index.tsx -------------------------------------------------------------------------------- /chapter_10/03_with_usereducer/src/react-app-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /chapter_10/03_with_usereducer/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_10/03_with_usereducer/tsconfig.json -------------------------------------------------------------------------------- /chapter_10/03_with_usereducer/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_10/03_with_usereducer/yarn.lock -------------------------------------------------------------------------------- /chapter_10/04_with_reactredux/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_10/04_with_reactredux/package.json -------------------------------------------------------------------------------- /chapter_10/04_with_reactredux/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_10/04_with_reactredux/public/index.html -------------------------------------------------------------------------------- /chapter_10/04_with_reactredux/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_10/04_with_reactredux/src/App.tsx -------------------------------------------------------------------------------- /chapter_10/04_with_reactredux/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_10/04_with_reactredux/src/index.tsx -------------------------------------------------------------------------------- /chapter_10/04_with_reactredux/src/react-app-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /chapter_10/04_with_reactredux/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_10/04_with_reactredux/tsconfig.json -------------------------------------------------------------------------------- /chapter_10/04_with_reactredux/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_10/04_with_reactredux/yarn.lock -------------------------------------------------------------------------------- /chapter_11/01_redux_counter/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_11/01_redux_counter/package.json -------------------------------------------------------------------------------- /chapter_11/01_redux_counter/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_11/01_redux_counter/public/index.html -------------------------------------------------------------------------------- /chapter_11/01_redux_counter/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_11/01_redux_counter/src/App.tsx -------------------------------------------------------------------------------- /chapter_11/01_redux_counter/src/app/store.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_11/01_redux_counter/src/app/store.ts -------------------------------------------------------------------------------- /chapter_11/01_redux_counter/src/features/counter/Counter.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_11/01_redux_counter/src/features/counter/Counter.tsx -------------------------------------------------------------------------------- /chapter_11/01_redux_counter/src/features/counter/counterSlice.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_11/01_redux_counter/src/features/counter/counterSlice.ts -------------------------------------------------------------------------------- /chapter_11/01_redux_counter/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_11/01_redux_counter/src/index.tsx -------------------------------------------------------------------------------- /chapter_11/01_redux_counter/src/react-app-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /chapter_11/01_redux_counter/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_11/01_redux_counter/tsconfig.json -------------------------------------------------------------------------------- /chapter_11/01_redux_counter/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_11/01_redux_counter/yarn.lock -------------------------------------------------------------------------------- /chapter_11/02_zustand_counter/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_11/02_zustand_counter/package.json -------------------------------------------------------------------------------- /chapter_11/02_zustand_counter/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_11/02_zustand_counter/public/index.html -------------------------------------------------------------------------------- /chapter_11/02_zustand_counter/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_11/02_zustand_counter/src/App.tsx -------------------------------------------------------------------------------- /chapter_11/02_zustand_counter/src/Counter.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_11/02_zustand_counter/src/Counter.tsx -------------------------------------------------------------------------------- /chapter_11/02_zustand_counter/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_11/02_zustand_counter/src/index.tsx -------------------------------------------------------------------------------- /chapter_11/02_zustand_counter/src/react-app-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /chapter_11/02_zustand_counter/src/store.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_11/02_zustand_counter/src/store.ts -------------------------------------------------------------------------------- /chapter_11/02_zustand_counter/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_11/02_zustand_counter/tsconfig.json -------------------------------------------------------------------------------- /chapter_11/02_zustand_counter/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_11/02_zustand_counter/yarn.lock -------------------------------------------------------------------------------- /chapter_11/03_recoil_charcounter/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_11/03_recoil_charcounter/package.json -------------------------------------------------------------------------------- /chapter_11/03_recoil_charcounter/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_11/03_recoil_charcounter/public/index.html -------------------------------------------------------------------------------- /chapter_11/03_recoil_charcounter/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_11/03_recoil_charcounter/src/App.tsx -------------------------------------------------------------------------------- /chapter_11/03_recoil_charcounter/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_11/03_recoil_charcounter/src/index.tsx -------------------------------------------------------------------------------- /chapter_11/03_recoil_charcounter/src/react-app-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /chapter_11/03_recoil_charcounter/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_11/03_recoil_charcounter/tsconfig.json -------------------------------------------------------------------------------- /chapter_11/03_recoil_charcounter/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_11/03_recoil_charcounter/yarn.lock -------------------------------------------------------------------------------- /chapter_11/04_jotai_charcounter/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_11/04_jotai_charcounter/package.json -------------------------------------------------------------------------------- /chapter_11/04_jotai_charcounter/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_11/04_jotai_charcounter/public/index.html -------------------------------------------------------------------------------- /chapter_11/04_jotai_charcounter/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_11/04_jotai_charcounter/src/App.tsx -------------------------------------------------------------------------------- /chapter_11/04_jotai_charcounter/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_11/04_jotai_charcounter/src/index.tsx -------------------------------------------------------------------------------- /chapter_11/04_jotai_charcounter/src/react-app-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /chapter_11/04_jotai_charcounter/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_11/04_jotai_charcounter/tsconfig.json -------------------------------------------------------------------------------- /chapter_11/04_jotai_charcounter/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_11/04_jotai_charcounter/yarn.lock -------------------------------------------------------------------------------- /chapter_11/05_mobx_timer/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_11/05_mobx_timer/package.json -------------------------------------------------------------------------------- /chapter_11/05_mobx_timer/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_11/05_mobx_timer/public/index.html -------------------------------------------------------------------------------- /chapter_11/05_mobx_timer/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_11/05_mobx_timer/src/App.tsx -------------------------------------------------------------------------------- /chapter_11/05_mobx_timer/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_11/05_mobx_timer/src/index.tsx -------------------------------------------------------------------------------- /chapter_11/05_mobx_timer/src/react-app-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /chapter_11/05_mobx_timer/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_11/05_mobx_timer/tsconfig.json -------------------------------------------------------------------------------- /chapter_11/05_mobx_timer/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_11/05_mobx_timer/yarn.lock -------------------------------------------------------------------------------- /chapter_11/06_valtio_timer/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_11/06_valtio_timer/package.json -------------------------------------------------------------------------------- /chapter_11/06_valtio_timer/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_11/06_valtio_timer/public/index.html -------------------------------------------------------------------------------- /chapter_11/06_valtio_timer/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_11/06_valtio_timer/src/App.tsx -------------------------------------------------------------------------------- /chapter_11/06_valtio_timer/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_11/06_valtio_timer/src/index.tsx -------------------------------------------------------------------------------- /chapter_11/06_valtio_timer/src/react-app-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /chapter_11/06_valtio_timer/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_11/06_valtio_timer/tsconfig.json -------------------------------------------------------------------------------- /chapter_11/06_valtio_timer/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Micro-State-Management-with-React-Hooks/HEAD/chapter_11/06_valtio_timer/yarn.lock --------------------------------------------------------------------------------