DEV Community

Discussion on: Higher Order Components and Context Example

Collapse
 
kayis profile image
K

Hey,

yes, I know that this wouldn't work for multiple lists, but I wanted to keep the example simple.

I would given every list a key in the context, to store them right, but your example seems to be better, thanks for the tip :)