Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript

Cole Logan
Cole Logan
4,582 Points

How do I use React-Router/Babel/React without using WebPack?

I dislike the fact that some treehouse teachers force you to use these tools like webpack without fully understanding how stuff works. I know what webpack is I understand how it works. I just want to understand what libraries I'm bringing in and what they do. C'mon Guil, Don't throw things at us and expect us to know what everything is used for.

2 Answers

Jonathan Dewitt
Jonathan Dewitt
8,101 Points

The React Basics course (https://teamtreehouse.com/library/react-basics) goes over using these things standalone before learning how to use webpack/grunt/gulp etc. Just download the project files and take a look. Or go through all the videos and you'll understand where it's all coming from.

Everything webpack uses is specified in the webpack.config.js file.

Guil Hernandez
STAFF
Guil Hernandez
Treehouse Teacher

Hey Cole Logan,

I mention this workshop and link to it in the teacher's notes of the first two videos. In the workshop, you learn to set up a React development environment with webpack, Babel and npm. You even to to use create-react-app. :)