airbnb / react-with-styles

Use CSS-in-JavaScript with themes for React without being tightly coupled to one implementation
MIT License
1.7k stars 95 forks source link

Context provider does not provide the interface #244

Open mohsen1 opened 4 years ago

mohsen1 commented 4 years ago

I'm trying to use v4 with SSR and running into this issue. Without manually registering the interface I'm getting an error. See more details of this issue in the Next.js PR I have open:

https://github.com/zeit/next.js/pull/13193

joeyparis commented 3 years ago

I am also experiencing this issue with 4.2.0. @mohsen1 were you able to come up with a solution other than manually registering the interface? That's not working me either because of code splitting