Open gksander opened 2 years ago
Damn, just now seeing that RNW doesn't support Appearance.addChangeListener
, so this is going to fail for RNW 😢
I'm torn on this. I really like this change to the API, but not supporting RNW is a real downside.
Looks like Appearance.addChangeListener
does exist, it just doesn't conform to RN's new API for change listeners (e.g., returning a remove
method from the subscription). I've created a PR for RNW to support this.
LGTM? 🥇
What is this?
This PR removes the need to wrap your app in
StyleProvider
. The reason for this change is twofold:This PR also adds a bunch of cleanup around tests.