arunghosh / arunghosh/react-pin-input

Changing input length does not re-render the component with new input length

Open
#193 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
112
Forks
45
PR merge metrics
No merged PRs in 30d

Description

This occurs when dynamically passing the input length. Check this sandbox I have created.
https://codesandbox.io/s/react-pin-input-forked-13y1m?file=/src/App.js

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the behavior using the linked CodeSandbox, starting with src/App.js and the dynamically passed input length. Trace why the React component does not update when that value changes, then verify that changing the length causes the rendered inputs to match the new value.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.