alibaba / alibaba/react-intl-universal
如何处理服务端渲染情况下A用户设置语言会影响B用户的情况
Open
- Dominant language
- JavaScript
- Stars
- 1.4k
- Forks
- 158
- Avg merge
- 2h 9m
- Merged PRs (30d)
- 1
Description
如果intl.init 和intl.get不是放在一个调用栈里执行,即A用户的intl.init和intl.get之间插入了B用户的intl.init操作,会造成A用户的intl.get获取的是B用户设置的语言,如何处理这种情况
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by tracing the intl.init and intl.get entry points and how their state is shared during server-side rendering. Reproduce interleaved A-user and B-user calls, then define and verify behavior that keeps each user's language isolated; the issue names no files or tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- backend, internationalization
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100