question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

app(props, container) VS props.container

See original GitHub issue

Which want do we want?

app({
  state,
  view,
  actions,
  container|root
})

VS

app(
  {
    state,
    view,
    actions
  },
  container
)

Revival of #410.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:24 (19 by maintainers)

github_iconTop GitHub Comments

3reactions
okwolfcommented, Nov 13, 2017

At this point I’d rather leave this the way it is than ping pong back and forth with breaking changes.

2reactions
rajaraodvcommented, Oct 21, 2017

@rajaraodv Were you thinking of any issue in particular? Nope. I am just thinking about others talking about some issue while writing HOA. I myself am not aware of it.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found