Skip to content

Commit

Permalink
Update reactjs.org reference links to react.dev
Browse files Browse the repository at this point in the history
  • Loading branch information
philipturnbull committed Aug 11, 2023
1 parent d5bec93 commit 1c1c6c2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion typescript/react/best-practice/react-find-dom.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ rules:
findDOMNode is an escape hatch used to access the underlying DOM node. In most cases, use of this escape hatch is discouraged because it pierces the component abstraction.
metadata:
references:
- https://reactjs.org/docs/react-dom.html#finddomnode
- https://react.dev/reference/react-dom/findDOMNode
- https://github.com/yannickcr/eslint-plugin-react/issues/678#issue-165177220
category: best-practice
technology:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ rules:
- A07:2017 - Cross-Site Scripting (XSS)
- A03:2021 - Injection
references:
- https://reactjs.org/docs/dom-elements.html#dangerouslysetinnerhtml
- https://react.dev/reference/react-dom/components/common#dangerously-setting-the-inner-html
category: security
confidence: MEDIUM
technology:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ rules:
- A07:2017 - Cross-Site Scripting (XSS)
- A03:2021 - Injection
references:
- https://reactjs.org/docs/dom-elements.html#dangerouslysetinnerhtml
- https://react.dev/reference/react-dom/components/common#dangerously-setting-the-inner-html
category: security
confidence: MEDIUM
technology:
Expand Down

0 comments on commit 1c1c6c2

Please sign in to comment.