Commit 6fa3789
authored
[fix]: SDK initialization could fail or remain uninitialized in React 17 (#1372)
[fix]: SDK initialization could fail or remain uninitialized in React
17.
// PR description (Optional)
React 17에서 Initialize 과정에서 제대로 state 변경이 반영이 되질 않아서, 무한 Loading 상태로 보이는
문제입니다.
React 18 19 에서는 발생을 하지 않습니다.
// Footer (Recommended)
Fixes [CLNP-7731](https://sendbird.atlassian.net/browse/CLNP-7731)
// Changelogs (Recommended)
// Add (internal) at the end of each changelog if internal.
### Changelogs
- Fixed a Bug where SDK initialization could fail or remain
uninitialized in React 17
// Co-authors
// Add this if you pair programmed or they made significant
contributions to the ideas in the code and you want to thank them.
Co-authored-by: Name name@example.com, Name2 name@example.com
### Checklist
Put an `x` in the boxes that apply. You can also fill these out after
creating the PR. If unsure, ask the members.
This is a reminder of what we look for before merging your code.
- [x] **All tests pass locally with my changes**
- [ ] **I have added tests that prove my fix is effective or that my
feature works**
- [ ] **Public components / utils / props are appropriately exported**
- [ ] I have added necessary documentation (if appropriate)
## External Contributions
This project is not yet set up to accept pull requests from external
contributors.
If you have a pull request that you believe should be accepted, please
contact
the Developer Relations team <developer-advocates@sendbird.com> with
details
and we'll evaluate if we can set up a
[CLA](https://en.wikipedia.org/wiki/Contributor_License_Agreement) to
allow for the contribution.
[CLNP-7731]:
https://sendbird.atlassian.net/browse/CLNP-7731?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ1 parent 901bd35 commit 6fa3789
1 file changed
+0
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
232 | 232 | | |
233 | 233 | | |
234 | 234 | | |
235 | | - | |
236 | | - | |
237 | | - | |
238 | | - | |
239 | | - | |
240 | | - | |
241 | | - | |
242 | | - | |
243 | | - | |
244 | | - | |
245 | | - | |
246 | 235 | | |
247 | 236 | | |
248 | 237 | | |
| |||
354 | 343 | | |
355 | 344 | | |
356 | 345 | | |
357 | | - | |
358 | 346 | | |
359 | 347 | | |
360 | 348 | | |
361 | 349 | | |
362 | 350 | | |
363 | 351 | | |
364 | | - | |
365 | 352 | | |
366 | 353 | | |
367 | 354 | | |
| |||
0 commit comments