3 ms·
Try going sideways once things get too nested for callbacks not to be arduous: https://github.com/rpflorence/react-training/blob/gh-pages/lessons/04-less-simple
by insin 12y ago
Try going sideways once things get too nested for callbacks not to be arduous: https://github.com/rpflorence/react-training/blob/gh-pages/lessons/04-less-simple-communication.md https://github.com/rpflorence/react-training/blob/gh-pages/l...
Another option (albeit currently an undocumented one) is to use contexts to obviate the need to pass things down manually: http://davehking.com/2014/11/15/introduction-to-contexts-in-react-js.html http://davehking.com/2014/11/15/introduction-to-contexts-in-...