react-intl-universal v1.11.1 Release Notes
Release Date: 2018-05-13 // almost 6 years ago-
⚠ Whenever a default message is missing or having error for formatting a message,
react-intl-universal
will log warning message like thisreact-intl-universal key "not-exist-key" not defined in en-US
.⚠ If you would like to log these messages using third party services or even turn off the message, here is a chance to add custom warning handler in
init
function.const locales = {...};const currentLocale = "en-US";const warningHandler = (message, detail) =\> {...}; // Define your custom warning handlerintl.init({ locales, currentLocale, warningHandler })