react-native-windows icon indicating copy to clipboard operation
react-native-windows copied to clipboard

Eliminate ThemedReactContext

Open rozele opened this issue 10 years ago • 2 comments

I don't think this is needed, but we should further investigate.

rozele avatar Jun 22 '16 18:06 rozele

It appears that the intention of the ThemedReactContext is to provide a way to add "view" related context extensions to the ReactContext that is passed into most ViewManagers and their collaborators... However, there does not appear to be any code that utilizes this extension point... Replacing all instances of ThemedReactContext with ReactContext and removing the instantiation of the ThemedReactContext does not appear to have any effect on running Playground...

pre10der89 avatar Nov 15 '16 20:11 pre10der89

We'll leave this as won't fix. ThemedReactContext is a useful way of limiting access from modules to the ReactContext.

rozele avatar Feb 08 '17 19:02 rozele