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
Passing the name of an invalid emoji to Emoji crashes the app. This causes bugs that are hard to workaround on the implementation side, especially in cases where users can enter emoji names directly.
In particular, if this function didn't assume that raw strings passed in are already valid emojis, the error could be bubbled up & handled/logged rather than causing a full crasher.
Thanks for the library!
The text was updated successfully, but these errors were encountered:
See example here: https://codesandbox.io/s/50yjo02m5k
Passing the name of an invalid emoji to
Emoji
crashes the app. This causes bugs that are hard to workaround on the implementation side, especially in cases where users can enter emoji names directly.In particular, if this function didn't assume that raw strings passed in are already valid emojis, the error could be bubbled up & handled/logged rather than causing a full crasher.
Thanks for the library!
The text was updated successfully, but these errors were encountered: