This repository has been archived by the owner on Sep 13, 2020. It is now read-only.
`menuActions` refactoring
Last few days I received a lot of issues from users about accessing menuActions
from child content view components. I admit, that previous solution had a bunch of edge cases I was supposed to fix and now I'm glad to present you a result of my work trying solving these issues.
Now you're able to use context
(I think it's already well-known feature of React, even besides it's not documented yet), so instead of using props' menuActions
property on the first-level component you're able to use context's menuActions
property which is available across the all child views. Example is already there, you can check a README for it.
Hope that will hope you to build even more awesome software!