/react-boilerplate

A React Boilerplate of Phodal's Project

Primary LanguageTypeScript

React Boilerplate for Study

Steps

  1. use Create React App create app

https://github.com/facebookincubator/create-react-app

npx create-react-app my-app --typescript

# or

yarn create react-app my-app --typescript
  1. integration react-app-rewired

https://github.com/timarney/react-app-rewired

2.1 customize-cra

https://github.com/arackaf/customize-cra

Document

Dan Abramov's Hook Articles

Dan Abramov's Hook Articles (Chinese Version)

Others

Test

Library

Hooks test

Form

中文(Chinese)

Boilerplate

Library

normal

Code Generator

Light Weight

  • generact: Generate React components by replicating your own
  • hygen is the simple, fast, and scalable code generator that lives in your project.
  • Plop Micro-generator framework that makes it easy for an entire team to create files with a level of uniformity.

Project Level

  • Yeoman Generator helps you to kickstart new projects, prescribing best practices and tools to help you stay productive.
  • nwb A toolkit for React, Preact, Inferno & vanilla JS apps, React libraries and other npm modules for the web, with no configuration (until you need it)

Plop

nwb

nwb new preact-app my-app

Todo

License

© 2019 A Phodal Huang's Idea. This code is distributed under the MIT license. See LICENSE in this directory.