Open dvlin-dev opened 10 months ago
First of all, thanks for spending time on this project.
Is it possible to make the cache feature optional by parameter? I would like it to be disabled by default for the following reasons:
Additionally, is it possible to use the cache mechanism offered by https://formatjs.io/docs/intl/#createintlcache?
I submitted the code again, according to your request, make cache optional, refer to formatjs
The changes to the init method parameters need to be synchronized in the README.md file, just like defined in index.d.ts. However, the README.md file is ignored in the .gitignore file.
Should I delete the README.md option in the .gitignore file, or should you synchronize the changes of the init parameter?
I am very happy to be able to contribute (:
hi bro, maybe you can have a look at of this,I will use the feature plz.
Bump
Description
add cache
Fixes https://github.com/alibaba/react-intl-universal/issues/232
Type of change
New feature (non-breaking change which adds functionality)
Test
First call intl.get once, and then check if there is a corresponding value in the cache.