Answer the question
In order to leave comments, you need to log in
Is it normal to store actions in context or not?
There is a very deep structure.
And I thought why not, instead of cloning it constantly through cloneElement, just simply take it from context where necessary
. But there is little information about the context and it is somehow contradictory.
Answer the question
In order to leave comments, you need to log in
About the context:
https://habrahabr.ru/post/266407/
Now I myself use forwarding data and functions for dispatch.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question