app(props, container) VS props.container
See original GitHub issueWhich want do we want?
app({
state,
view,
actions,
container|root
})
VS
app(
{
state,
view,
actions
},
container
)
Revival of #410.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:24 (19 by maintainers)
Top Results From Across the Web
Container Components in React - Section.io
The App component illustrates how a container component can perform two functions, rendering the UI and housing the logic of that container. ...
Read more >Presentational and Container Components | by Dan Abramov
While container components tend to be stateful and presentational components tend to be stateless, this is not a hard rule. Presentational components can...
Read more >Understanding the Container Component Pattern with React ...
This presentational component takes the details of each movie as props and uses the values to create the UI presentations. Now we will...
Read more >Presentational VS Containers - React Made Native Easy
Container components shouldn't have the view logic or presentational logic. The job of container components is to compute the values and pass them...
Read more >React hooks: a lightweight alternative to container components
A container should handle accessing data and application level UI ... it is to pass props from multiple containers to the same component....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
At this point I’d rather leave this the way it is than ping pong back and forth with breaking changes.