L
L
Leonid Danilov2017-01-30 17:54:05
JavaScript
Leonid Danilov, 2017-01-30 17:54:05

What is the correct way to use createContainer in Meteor.js/React.js?

There was a stupid question. Actually, what is the correct way to use createContainer to pass data from MiniMongo to React?
1. Wrap the entire application in one container and pass data down the tree via props
2. Wrap individual components and pass only the information they need into them
Thank you for your attention/time/answers

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
Leonid Danilov, 2017-08-15
@Infonautica

The correct answer is to use a container system and separate into smart/dumb components

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question