jpudysz / react-native-unistyles

Level up your React Native StyleSheet

Home Page:https://unistyl.es

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SSR with NextJS and Unistyles

jpudysz opened this issue · comments

Description

The question was reported here: #48 , and I was able to reproduce it. There are two areas for improvement:

  • The useDimensions hook,
  • The import to the preprocessor from react-native-web.

I was able to patch it quickly, but I need to conduct more tests to find a proper solution.

unistyles.mp4

Steps to reproduce

  1. Import react-native-unistyles in a project with NextJS
  2. Run it

Snack or a link to a repository (optional)

No response

Unistyles version

1.0.0

React Native version

0.72

Platforms

React Native Web

Released with 1.1.0