Skip to content

Unsupported CSS fails silently #54

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Zacqary opened this issue Jan 4, 2018 · 2 comments
Closed

Unsupported CSS fails silently #54

Zacqary opened this issue Jan 4, 2018 · 2 comments

Comments

@Zacqary
Copy link

Zacqary commented Jan 4, 2018

Working with styled-components and react-native-web can be frustrating, because things like:

const StyledView = styled(View)`
  &:hover { /* some hover state */ }
`

will just refuse to compile on the web without throwing an error. It'd be really helpful for multi-platform projects to know when our web-specific syntax is getting stripped so that we can refactor correctly.

@jacobp100
Copy link
Contributor

Could you open this on the main styled-components repo? If you look at the API, this only takes pre-parsed declarations, so is out of the scope of css-to-react-native to fix. Thanks! 🙂

@Zacqary
Copy link
Author

Zacqary commented Jan 4, 2018

Sure thing, reopening there. Sorry about that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants