Shopify / restyle

A type-enforced system for building UI components in React Native with TypeScript.

Home Page:https://shopify.github.io/restyle/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Breaking Change in update from 2.1.0 to 2.2.0/2.3.0?

huschu opened this issue · comments

commented

Current behavior

I have not changed any code but after updating from 2.1.0 to either 2.2.0 or 2.3.0 I get errors like Value 'l' does not exist in theme['spacing']. I didn't have time to look into this issue too deeply, but right after creating the theme the theme object is filled as expected, but the object returned by the useTheme hook is just {"breakpoints": {}, "colors": {}, "spacing": {}}.

Platform:

  • iOS
  • Android