react-patterns
react-patterns copied to clipboard
Question: Constructor + props, context?
Hi. Is it safe to go for a constructor-based approach (as opposed to e.g. componentWillMount) when you only pass props to super(), but not the context? Doesn't this break with popular libraries that use context, like react-router?