Warning: ":hover" is not a valid style property.
StyleSheet body: {
"width": 30,
":hover": {
"width": 20
}
}
This is because the StyleSheet object being imported on web is the one from react-native-web, which does not implement pseudo-selectors. So that leads me to my question: what's the the story behind react-web and what are your plans for it?
This is a sweet project and it was awesome meeting you at Chain React!
I noticed pseudo-selectors and media-queries are implemented in the
StyleSheet
defined insrc/web/
, however trying to use a pseudo-selector the same way they're used in tests leads to the following error:This is because the
StyleSheet
object being imported on web is the one fromreact-native-web
, which does not implement pseudo-selectors. So that leads me to my question: what's the the story behindreact-web
and what are your plans for it?This is a sweet project and it was awesome meeting you at Chain React!