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 Introduction to React Native Implementing React Native Containers, Components, and Styles

Why do I need to download new project files for every video?

First off, the downloads for the project files are broken - but I see this has been mentioned elsewhere.

My main question/concern is having to download new project files for every new video. Surely it would be better to be able to do one download at the start, and then follow/code along with the instructor as they build out the app through the series of videos

Downloading fresh sets of files, and having to npm install with every video is rather frustrating (even more so if the downloads don't actually even work - effectively making this course unusable).

4 Answers

Thanks. Yes, I am more than happy to make the import changes. I think my point is that perhaps the QA for this course could have been done a little better. These typos should not be in the code, and downloads for each stage should be available (and not giving S3 XML errors) when the course launches.

I shall be waiting a few weeks until these things have settled down and then try again.

I still much prefer the approach taken by other courses where you code along from the start, but perhaps that is just me.

Edward has raised some valid pain points with regards to downloading the project files. QA could also have been better atleast when it comes to downloading the project files. I would also prefer the approach where you code along from the start. As far as the typo's Rhys mentioned I noticed that too. It looks like Treehouse is testing our debugging skills :)

I also would have preferred a true code along. I've ran into multiple problems using the same code as the examples. Having a strong understanding of React/Redux and a basic understanding of React Native, fixing these issues hasn't taken longer than ten minutes but they are nonetheless frustrating. While this might not be the BEST place to start learning Native, I've picked up quite a bit by going through the bugged project zips and making them work. Mainly here to get a better handle on React-Native-Router-Flux which hopefully gets broken down well later in the course.

I think the point is so you can easily see changes between videos on your own machine as separate folder (although you could just as easily use git). The project files you d/l aren't broken but most of the import statements are wrong.

Read the errors in your simulator, most point to bad import statements. Also if problems are on Android, copy/paste index.ios.js into index.android.js, replacing its original contents. Pay attention to the import statements at the top of each fie and correct them as necessary.

For example... In the TeamProfileContainer, the path to CharacterList in the import statement is '../components/CharacterList'. If you look at your project, you'll notice that these folders are all capitalized so you need to change the import path to '../Components/CharacterList'. Go through and check import statements on all of your files or just change the name of the folders to lowercase and everything should work.