You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So can I have many small React components with containers? Or should I have one big container, and then have many small react components inside it, with less overhead
The text was updated successfully, but these errors were encountered:
I have somewhat similar question. Mine is about nested components, does it cause performance issue if we repeatedly connect each nested component, let's say with similar data or any data that can be derived from the ParentContainer? In Redux this is acceptable and encouraged I don't know with Komposer.
For example
function dataLoader() {
Meteor.subscribe('test');
}
compose(dataLoader())(ParentContainer)
function dataLoader() {
Meteor.subscribe('test');
}
compose(dataLoader())(GreatGrandChildContainer)
Does react-komposer reuse subscriptions, i.e. doing something like:
Meteor.subscribe('test');
Meteor.subscribe('test');
Meteor.subscribe('test');
Meteor.subscribe('test');
Meteor.subscribe('test');
Meteor.subscribe('test');
So can I have many small React components with containers? Or should I have one big container, and then have many small react components inside it, with less overhead
The text was updated successfully, but these errors were encountered: