Closed Bug 1705536 Opened 3 years ago Closed 3 years ago

Lint against componentDidUnmount

Categories

(DevTools :: General, task, P3)

task

Tracking

(firefox89 fixed)

RESOLVED FIXED
89 Branch
Tracking Status
firefox89 --- fixed

People

(Reporter: jdescottes, Assigned: jdescottes)

References

Details

Attachments

(1 file)

A common mistake in React components is to use componentDidUnmount instead of componentWillUnmount.

We should lint against this.

Pushed by jdescottes@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/be607aac4da6
[devtools] Add linter errors when using componentDidUnmount r=bomsy
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 89 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: