DEV Community

Discussion on: Creating your React project from scratch without create-react-app: The Complete Guide.

Collapse
 
hasnaindev profile image
Muhammad Hasnain • Edited

You don't need an Express server though. Better use live-server, even better, use webpack-dev-server which not only run the app on localhost but also supports HMR for CSS, JS along with in-memory compilation for faster dev builds and has historyFallbackApi option. Express server is simply an overkill, not to mention the management overhead.

Collapse
 
ezecodes profile image
Elijah

An why using --save-dev. Will it still work without using --save-dev?

Collapse
 
aderchox profile image
aderchox

Google it.

Collapse
 
nikhilmwarrier profile image
nikhilmwarrier

I was about to mention just this
Great article though @underscorecode