IssueRaiser

the biggest problem with plain React (without Flux) is that the parent components have to pass event handlers to the child components, wh...

the biggest problem with plain React (without Flux) is that the parent components have to pass event handlers to the child components, which gets really messy if you have multiple (>3, say) levels of nesting. It's much cleaner to have the child component trigger an event, and the data for the parent component to be updated accordingly. This is something Ractive.js provides out of the box (child components fire events, that parent can be listening for), and what Flux (and its implementations) provide.

Posted by findjashua on Nov 5, 2014, 11:05 PM

Tags

Related issues

Raise real-world problems, find people facing the same issue, and discuss solutions.9,000 issues0 comments

hackernews (Other)

the biggest problem with plain React (without Flux) is that the parent components have to pass event handlers to the child components, wh...

findjashuaNov 5, 2014, 11:05 PM

the biggest problem with plain React (without Flux) is that the parent components have to pass event handlers to the child components, which gets really messy if you have multiple (>3, say) levels of nesting. It's much cleaner to have the child component trigger an event, and the data for the parent component to be updated accordingly. This is something Ractive.js provides out of the box (child components fire events, that parent can be listening for), and what Flux (and its implementations) provide.

Comments (0)

No comments yet. Start the discussion.

Comment on this issue