jamesplease / jamesplease/core-hooks

Consider useConstant for React 18

Open
#38 0 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
TypeScript
Stars
9
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Read: https://github.com/reactwg/react-18/discussions/18

Will the ref be cleared after the remount? Should be easy enough to test.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading the linked React 18 discussion and inspecting the useConstant implementation and its existing tests. Determine whether the ref is cleared after a React 18 remount; done means the behavior is verified by a test and any needed compatibility change is clearly resolved.

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
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.