lelandrichardson / react-primitives

Primitive React Interfaces Across Targets
MIT License
3.09k stars 108 forks source link

Use the default export of `StyleRegistry` #94

Closed calebmer closed 6 years ago

calebmer commented 6 years ago

Looks like .default needs to be accessed on the StyleRegistry module per: https://github.com/necolas/react-native-web/blob/ad3dee0204df683642ab8cc66bfa9899b27f616a/src/apis/StyleSheet/registry.js#L13

Ran into this while trying to call resolve(). It errors saying “undefined is not a function.”

MoOx commented 6 years ago

Duplicate of https://github.com/lelandrichardson/react-primitives/pull/73

Anyway, this library is clearly unmaintained. Still waiting for a reply overthere.

lelandrichardson commented 6 years ago

Fixed in v0.5.0