jamesplease / jamesplease/core-hooks

useConstant - second arg

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

Description

What if the constant needs to be recomputed based on some values? I should introduce a second arg here. It will be a breaking change tho if the 2nd arg is required to be `[]` to recreate the existing behavior.

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names no file, test, or entry point. Start by locating useConstant and its existing tests; done requires an agreed second-argument API, clear compatibility behavior, and tests for the requested recomputation case.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.