popcodeorg / popcodeorg/popcode
Failed propType when loading from snapshot
Open
Nobody has claimed this yet.
bug
help wanted
- Dominant language
- JavaScript
- Stars
- 191
- Forks
- 143
- Avg merge
- 4d 11h
- Merged PRs (30d)
- 5
Description
To reproduce:
- Create a snapshot in development
- Load it in a new tab
Observe the warning:
VM21:37 Warning: Failed prop type: The prop `projectKey` is marked as required in `Instructions`, but its value is `null`.
in Instructions (created by Connect(Instructions))
in Connect(Instructions) (created by Workspace)
in main (created by Workspace)
in div (created by Workspace)
in Workspace (created by Connect(Workspace))
in Connect(Workspace) (created by Application)
in Provider (created by Application)
in ErrorBoundary (created by Application)
in Application
Contributor guide
No contributing guide indexed for this repository
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.
Research direction
Start by reproducing the snapshot workflow described in the issue: create a development snapshot, then load it in a new tab. Trace the Instructions component and its projectKey prop while loading the snapshot. Done means the snapshot loads without the reported required-prop warning.
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
- 45/100