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

General Discussion

Consolidating data from different sources(API). React/Redux focused but any input welcome.

Looking for suggestions how to handle this. The project I'm working on now has it's own API for its database, I'd also like to make use of some external APIs and include them in the content.

For example, I have one "page" which is calling my API and twitter already, I'd like to maybe add some things from youtube or anything that makes my app better basically. I've been using componentWillMount method to make those two independent calls before render.

Is there any benefit to consolidating the data from the two sources into a single entity and what would be a method to go about it? Right now I'm not storing data from twitter anywhere, but I figure I probably be should be putting that somewhere for performance reasons.