Skip to content

StevenCreates/react-typescript-usecontext-usereducer

Repository files navigation

Using useReducer and useContext with Typescript in React

Simple to get started

  • Follow Me
  • Star Repo
  • Clone Repo
  • Npm install

Common VsCode Error!!

  • Cannot use JSX unless the '--jsx' flag is provided

Resolution:

  • Go to the command palette CTRL+Shift+P.
  • Choose "TypeScript: Select a TypeScript Version...".
  • Choose "Use workspace Version".

Resources

Find Me

If you end up cloning this more than once please star it

Note: I'm not responsible for any other errors that may be caused by your current set up. This is ment as a guide to help you understand how to use typescript with these react hooks

About

How to use useReducer and useContext with TypeScript.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published