Plugin like breakpoint #115
Closed
lobor
started this conversation in
Feature Requests
Replies: 1 comment 1 reply
-
Hi @lobor, it's because currently, Unistyles will remove your invalid keys and utilize its own breakpoints. I aim to make it more extendable in version 3.0. What you're trying to achieve will be supported with a custom CSS compiler. I also plan to add some CSS pseudo-classes - you can check the roadmap here: #75. Support for such features is currently limited. I'm awaiting RN Web 0.20, which potentially can facilitate such cases. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi
I experiment unistyles and i tried to add key in style like breakpoint with plugin
actual for breakpoint
I want, for hover/active state
In onParsedStyle function of my plugin, backgroundColor is undefined
I have change my vision, and i have created HOC which seperate different state before pass to createStyle
this looks good but I think there is better to do
Whate do you think ?
Sorry for my english
Beta Was this translation helpful? Give feedback.
All reactions