Hi, I am trying to use globalize app-npm-webpack but keep getting the following error.
The goal is to be able to dynamically change the language from a dropdown while using the app. Therefore I performed a small test. From the existing sample app-npm-webpack provided in this repo.
Inside index.js, I try to write the following code.
My understanding is that all the supportedLocales are loaded by the webpack. The selected developmentLocale is de. The defaultLocale is always loaded fine but the app is not changing locale during the running of the app and gives me the error below.
I get the following error.
Could anyone point me the reason for this error ?.
I didn't change anything in the app except try to use that line above.
Hi, I am trying to use globalize
app-npm-webpack
but keep getting the following error.The goal is to be able to dynamically change the language from a dropdown while using the app. Therefore I performed a small test. From the existing sample
app-npm-webpack
provided in this repo.Inside
index.js
, I try to write the following code.My understanding is that all the
supportedLocales
are loaded by the webpack. The selecteddevelopmentLocale
isde
. The defaultLocale is always loaded fine but the app is not changing locale during the running of the app and gives me the error below.I get the following error.
Could anyone point me the reason for this error ?.
I didn't change anything in the app except try to use that line above.