DEV Community

Discussion on: Create React App without create-react-app !

Collapse
 
michaelcurrin profile image
Michael Currin

For those criticizing the article for not using create app and therefore being slower and less secure.

I think this article is ideal for beginners. It's overwhelming seeing files and how they fit together if you never used React before. And it's easy to forget something if it was generated for you.

I like the explanations going through the set up incrementally and also one will remember things better having actually typed them up or pasted them in a manually created file.

I also like the use of webpack so if you know webpack this is familiar instead of using create React app in script commands.

And when you need to make your second React app to be faster or more secure, then one of always use the creact React app CLI to set up a new project.

Oh also this article uses the latest version of all the packages so security is taken care of there.

Collapse
 
michaelcurrin profile image
Michael Currin

For my projects I like to have a template built around create React app output. Which already has docs and even CI to deploy to GitHub Pages.

Plus it has a bunch of sample components

GitHub logo MichaelCurrin / react-quickstart

Starter template for a React app - including docs, CI, and hosting ⚛ 📦

React Quickstart ⚛️ 📦

Starter template for a React app - including docs, CI, and hosting

GH Pages Deploy GitHub tag License

Made with Node Made with Yarn Made with React

Preview

How to create a new React app

Use this project as a template

Use this template

Documentation

To install, run and deploy the app, see this project's docs:

Docs

To learn how to use this project and see how a React project works, see the Template notes section of the docs.

License

Released under MIT by @MichaelCurrin.

This project is based on the template from the React CLI. I have added my own docs, the deploy flow and made very minor changes to the app.




Oh and if you are curious on how to build and host with no Node, I have this.

GitHub logo MichaelCurrin / react-frontend-quickstart

Starter template using React on a website's frontend - without Node

React Frontend Quickstart ⚛️ 📦

Starter template using React on a website's frontend - without Node

GitHub tag License

dependency - react Hosted with GH Pages

Preview


View site - GH Pages


Use this template

Documentation

View - Documentation

License

Released under MIT by @MichaelCurrin.




Collapse
 
riddhiagrawal001 profile image
Riddhi Agrawal

Thanks for the appreciation and explaining the things really nicely ..!!

Collapse
 
stevesobol profile image
Steve Sobol

I don't like create-react-app. It creates a bloated mess, installs stuff I never use, and fails to install other stuff I always use.

I'm actually using this tutorial to build a template I'm going to push to a private npm repository. It'll save me quite a bit of time once I have everything set up.

Some comments have been hidden by the post's author - find out more