drcmda / drcmda/mauerwerk

Controlled component

Open
#3 4 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
827
Forks
53
PR merge metrics
No merged PRs in 30d

Description

Is there a way to set the 'open' element by key as a prop, so Grid can be used as a controlled, stateless component? You could use this to, say, synchronise the open state with a router system.

```

```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the Grid component and trace how its open element is currently stored and changed; compare that flow with the proposed openKey prop. Done means Grid can receive the open key as a prop and remain controlled and stateless, including the router-synchronization use case.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
frontend
Issue type
Feature
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.