how to update the new value to state ?
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 25/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- react, typescript
- Domain
- frontend
Research direction
Start with the component's onEdit callback and its current newValue and oldValue arguments. Trace how edited JSON is exposed to the parent and determine what is needed for a React state value to collect the user's changes. Done means the component can support the described form workflow, including submitting the edited JSON.
Written by the indexing model from the issue text.
Description
onEdit method seems to only provider newValue, oldValue, if don't have key, how can I update the state?
I want to use this component as a form component, so that users can edit json, submit the form, I need to use state to collect the json input by the user
- Dominant language
- TypeScript
- Stars
- 421
- Forks
- 24
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from uiwjs/react-json-view
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
uiwjs/react-json-view#92 · 3 comments ·
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
uiwjs/react-json-view#93 ·
-
Named exportOpen
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
uiwjs/react-json-view#90 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 52/100
uiwjs/react-json-view#89 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
uiwjs/react-json-view#88 · 1 reaction ·
All issues in uiwjs/react-json-view
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Comfy-Org/ComfyUI_frontend#20346 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
decentralized-identity/didwebvh-ts#203 ·
Maintainers usually reply within 1 day
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
lingdojo/kana-dojo#31791 · 1 comment · 5 reactions ·
Maintainers usually reply within 1 day
-
Telegram webhook: line breaks lost since switch to rich messagesPossibly taken @Kshot3000 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
github_actions security
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day