[MGNLFE-141] React SSR Warning: UNSAFE_componentWillUpdate in strict mode Created: 01/Nov/21 Updated: 16/Nov/21 Resolved: 16/Nov/21 |
|
| Status: | Closed |
| Project: | Magnolia Frontend Helpers |
| Component/s: | None |
| Affects Version/s: | 1.1.2 |
| Fix Version/s: | 1.2.0 |
| Type: | Bug | Priority: | Medium |
| Reporter: | Christopher Zimmermann | Assignee: | Canh Nguyen |
| Resolution: | Obsolete | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Template: |
|
||||||||
| Acceptance criteria: |
Empty
|
||||||||
| Task DoD: |
[X]*
Doc/release notes changes? Comment present?
[X]*
Downstream builds green?
[X]*
Solution information and context easily available?
[X]*
Tests
[X]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
||||||||
| Bug DoR: |
[X]*
Steps to reproduce, expected, and actual results filled
[X]*
Affected version filled
|
||||||||
| Date of First Response: | |||||||||
| Epic Link: | External SPA | ||||||||
| Sprint: | HL & LD 41 | ||||||||
| Story Points: | 2 | ||||||||
| Description |
Steps to reproduce
.. Logs, screenshots, gifs... Expected resultsNo warnings. Actual results Warnings in browser console when page loads:
Warning: Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code.
See https://reactjs.org/link/unsafe-component-lifecycles for details.
* Move data fetching code or side effects to componentDidUpdate.
Please update the following components: EditablePage
Workaroundunknown Development notesThis might only be visible on nextjs project because it is running in "strict" mode by default? |