Welcome to the Treehouse Community
Looking to learn something new?
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.