Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dynamic list of stateful components #85

Open
dalgard opened this issue Jul 9, 2017 · 1 comment
Open

Dynamic list of stateful components #85

dalgard opened this issue Jul 9, 2017 · 1 comment

Comments

@dalgard
Copy link

dalgard commented Jul 9, 2017

Sorry if I'm missing a note about this, but does Prism come with a recommended way of handling dynamic lists of instantiable components?

I seem to remember redux-elm doing this, but not how? The problem would be in the reducer.

Relatedly, I can't figure out how to set initialState for such dynamically added components.

@dalgard
Copy link
Author

dalgard commented Jul 10, 2017

I remember now that redux-elm used lifecycle actions to set up state for wrapped components.

Was this technique abandoned? And why?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant