react-redux, react-router used
1.do not use Context
2.parent:function getChildContext,static childContextTypes,child:static contextTypes
3.lifecircle hook
constructor(props, context)
componentWillReceiveProps(nextProps, nextContext)
shouldComponentUpdate(nextProps, nextState, nextContext)
componentWillUpdate(nextProps, nextState, nextContext)
https://reactjs.org/docs/context.html
https://medium.com/@mweststrate/how-to-safely-use-react-context-b7e343eff076