Stop using React context API
Created by: felixfbecker
React context cannot be used with multiple React.render()
calls:
Warning: Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported.
Which we need to do in the browser extension.
We should just pass {...props}
around, which always works and is more type safe too.