Closed caa1211 closed 1 year ago
The document should also be updated If we want to keep the API changes.
@caa1211 I'm fine adding it back if it makes less work for the plugins. Do you want to open a PR?
ok I can do it
v3.1.0 has been released with the fix
I found a breaking change in getInstance and lead the react-i13n-reapid or other plugins need to be modified.
react-i13n@3.x getIntance: https://github.com/yahoo/react-i13n/blob/master/src/core/ReactI13n.js#L229
react-i13n@2.x getIntance: https://github.com/yahoo/react-i13n/blob/2.x/src/libs/ReactI13n.js#L51
If we can just let getInstance to be a static method in the ReactI13n class, it will not be a breaking change. I'm not sure if is it a better solution.