Using create-react-app to start a project TL;DR. Use Vite or Parcel to set up a new React project. Create React App(CRA) creates a development environment with the best configuration options. Babel is a tool that allows you to use newer JavaScript features, even if some browsers don't support them.

6m read timeFrom css-tricks.com
Post cover image
Table of contents
Using create-react-app to start a projectAdding Vite to Your Existing Web AppMaking a Site Work Offline Using the VitePWA PluginParcel CSS: A New CSS Parser, Transformer, and MinifierUsing Parcel as a Bundler for React ApplicationsUsing defaultProps for default valuesDemonstrating Reusable React Components in a FormI Learned How to be Productive in React in a Week and You Can, TooProps and PropTypes in ReactDon’t use propTypesProps and PropTypes in ReactPutting Things in Context With ReactAn Overview of Render Props in ReactUsing class componentsGetting to Know the useReducer React HookIntro to React HooksReact Hooks: The Deep CutsImporting React unnecessarilyThose were my early mistakes!

Sort: