Skip to content

AntTargett/Example-React-App

Repository files navigation

Example-React-App

Aim is to be used personally and for example Typescript/React with hooks and example usage of react-material-table

Usage

  • git clone this repo
  • npm install
  • npm run start

Example

https://anttargett.github.io/Example-React-App/#/

Tech

  • Typescript
  • React (With Hooks)

Core Dependencies

Design/Styling

  • emotion
  • react-material-table
  • material-ui
  • react-pose

Testing

  • Jest
  • React-testing-library

Other

  • axios

Included Examples

  • Lazy loading with React suspense
  • React hooks
  • Debounce hook
  • Using Emotion 10 styled components to style material ui
  • Created a useTheme hook utlising react context. Storing the chosen theme to local storage and allowing update via a toggle
  • Using context, hooks and emotion 10 to have a dark and light mode
  • Error Boundries
  • Typescript
  • Interface and regular types
  • Extending types