You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for the link to a more relevant repository and the transfering process.
Unfortunately, it seems like I dont have transfer privileges. Hence, Ive created a new issue in that repository. Below is the link: https://github.com/expo/snack-web/issues/30
PropTypes unfortunately doesn't work. As prop-types is no longer cool, I recommend moving to typings.
I've updated the example to TypeScript and it gives you hints in the editor that the count type is incorrect.
I originally created this issue on the expo repository and a Samaritan who goes by wodin said it would be better moving it to this repository.
The issue I have been experiencing is not seeing a yellow warning box on snack when I pass an incorrect Proptype.
Below is the link to the snack that demonstrates the problem:
https://snack.expo.io/@alishehzad/no-warning-for-incorrect-proptype
Here count is validated in 'Count.js' and exported to 'App.js'.
This works fine locally. Just not in a snack.
Following is the link to the original question: https://forums.expo.io/t/proptype-validation-on-snack/30580
The text was updated successfully, but these errors were encountered: