Closed dfedynich closed 7 years ago
@dfedynich, take a look at @tomkis' answer to my question and an example in the next message, should be enough information for you to solve this task.
@Dattaya, thank you, Yaroslav, for the response and quick feedback. Your implementation to handle with dynamic components is clear. Now, I understood some of the ideas in prisma to move from the library to the set of HOC, utils and wrappers. The wise and light way in my view.
Hello, team!
I wonder, how to manage with wrap/unwrap process, when the number of reusable components can be changed dynamically?
In you your example you assume, that we there are only two specific counters: top and bottom. But what if counters can be created/deleted dynamically? How to specify selector and wrapper in this case?
How should I build the reducer in the case of dynamic components?
By the way, there was a similar question about this use case - #46. If the answer is similar to it, could you provide the example of the best practice how to use prsim in this case?