i18n causes duplicate data fetching
I'm trying refine with this example:
https://github.com/refinedev/refine/tree/next/examples/i18n-react
I noticed the example has some issues:
1. It requests a non-existent file called "translation.json."
According to the i18n configuration, "translation.json" is not supposed to be used. Why was it requested? How can it be fixed?
2. i18n causes duplicate API requests when rendering App.jsx.
In the /posts route, the posts API is called twice. What is the best practice to resolve this issue?
https://github.com/refinedev/refine/tree/next/examples/i18n-react
I noticed the example has some issues:
1. It requests a non-existent file called "translation.json."
According to the i18n configuration, "translation.json" is not supposed to be used. Why was it requested? How can it be fixed?
2. i18n causes duplicate API requests when rendering App.jsx.
In the /posts route, the posts API is called twice. What is the best practice to resolve this issue?
GitHub
Build your React-based CRUD applications, without constraints.
Star to support our work! - refine/examples/i18n-react at next ยท refinedev/refine
