D
D
daria_sokolova2020-07-27 12:37:38
JSON
daria_sokolova, 2020-07-27 12:37:38

How to load json files separately from react bundle?

In the application, I use the react-intl library for internationalization, locales are loaded into one bundle (which collects create-react-app) in .json format. Tell me, how can I separate them separately from the bundle?
as I understand it, react codesplitting is not suitable for this, since it only works with react components

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question