/react-sandbox

React-TypeScript Sandbox

Primary LanguageJavaScript

React Sandbox

Playground for finding the best patterns

Add Craco

  1. Install
$ yarn add -D @craco/craco
  1. Update scripts with craco.

Styled Components

Add tools: (https://styled-components.com/docs/tooling)

  • babel-plugin-styled-components
  • typescript-plugin-styled-components

Console debug without clearing previous screen

  1. Install concurrently globally.
  2. concurrently yarn:start

Material UI

https://next.material-ui.com/

How to use react-query with React Context Provider

Scripts

Script Description
start
test
format
verify