react-component / react-component/util

Warning: findDOMNode is deprecated and will be removed in the next major release

Open
#558 2 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
670
Forks
205
Avg merge
11d 17h
Merged PRs (30d)
4

Description

This API will be deprecated: https://react.dev/reference/react-dom/findDOMNode#alternatives

Screenshot 2024-06-28 at 12 26 12

Code: https://github.com/react-component/util/blob/master/src/Dom/findDOMNode.ts#L37

Please consider removing the above warning by proposed solution

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at src/Dom/findDOMNode.ts around line 37 and read React's findDOMNode alternatives documentation. Determine which supported alternative applies to this utility, then verify that the deprecation warning no longer occurs.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.