Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reduce log level of "unrecognized font family" from Error to Info
Summary: Changelog: [iOS][Fixed] - Unrecognized fontFamily values no longer trigger a redbox ## Context We are starting to roll out a new consistent approach to style errors in React Native, where malformed or semantically invalid style values will never be treated as runtime errors. Instead, bad style values will consistently fall back to known defaults; the incorrect visual rendering will serve as the main runtime diagnostic for developers. We will advise developers to rely on static types for additional diagnostics. This work will take place over multiple commits and possibly multiple releases of React Native. ## This diff Here we fix this issue as it applies to the `fontFamily` style prop. The legacy (Paper) renderer on iOS is the only concrete implementation that had to change. Fabric and Android already implement the correct behaviour. h/t EvanBacon for the report: https://twitter.com/Baconbrix/status/1623039650775371792 Reviewed By: huntie Differential Revision: D43159284 fbshipit-source-id: 6afeef3abc5781e18671708f642073d25f2347e9
- Loading branch information