Replies: 1 comment
-
Wow, React Native Unistyles on React Native macOS and React Native Windows! The future is bright :D |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello 👋,
Recently, I added support for react-native-windows to react-native-unistyles. Unistyles is a library that offers a stylesheet with superpowers, incorporating custom C++ code and its own event system, separate from react-native.
I would appreciate a brief code review from someone more experienced, as I have some reservations about requesting certain information, such as window dimensions and color scheme, on the UI thread with future and promise. Can it be done differently?
Here is the file that uses JSI to inject the Unistyles object into the global scope. Any comments or feedback would be greatly appreciated!
ReactNativeUnistyles.h on GitHub
Beta Was this translation helpful? Give feedback.
All reactions