News for hackers. Stuff that matters.
Re:None of my projects want to be SPAs by kerkeslager on Wednesday February 13, 2019 @06:37AM (#19152287)
> Can you drop your top level component into another application with different children and still have it work?

Yes, it's a matter of passing the child into the parent as a prop.

> Can you move the child components to another view tree and still have them work?

Yes, this sort of thing is exactly what you get for free by doing things the way I describe.

> In the ideal react app architecture you should be able to take any component and move it anywhere else in the app and it should Just Work.

This is exactly not what happens in Redux projects in my experience.

Re:None of my projects want to be SPAs by pault on Wednesday February 13, 2019 @12:14PM (#19154613)
> This is exactly not what happens in Redux projects in my experience.

Sorry to beat this dead horse, but how does redux, which binds data directly at the level of the component that displays the data, make portable components more difficult than vanilla react where stateful components and functional components are tightly coupled? Do you have links to a gist or something so I can see what you're describing?