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 Building Applications with React and Redux Getting Started with Redux Redux Initial Setup - index.js

Fidel Torres
Fidel Torres
25,286 Points

React Webpack with Redux Setup?

I have been trying to get started with an application I have in mind but just to get the right configuration has taken me a whole day and still haven't been able to get the right configuration.

I would like to get help on getting right this configuration,

PROBLEMS

  • react from app.js is not loading into the div#main in index.html

I would like to see from TreeHouse a Starter Webpack config to get going when creating React apps. Right now all the 3 courses have a different configuration.

This is my SOURCE CODE

2 Answers

Seth Kroger
Seth Kroger
56,413 Points

Have you viewed the workshop https://teamtreehouse.com/library/setting-up-webpack-for-react ? It runs through setting up webpack from scratch.

Fidel Torres
Fidel Torres
25,286 Points

I have indeed, but in that workshop they use the Scoreboard React app as an example. I want to start from scratch with my own app. For some reason, it is not linking the react components to the render. I'm not even able to see the React tab in DevTools Chrome.

I have added a link to my source code in Github(question Edited), for review so some1 can help me.

Fidel Torres
Fidel Torres
25,286 Points

I was not linking the bundle.js, sorry dumb of myself... : )