Issue with rendering in React using state variables
- Dominant language
- JavaScript
- Stars
- 5.8k
- Forks
- 585
- PR merge metrics
- No merged PRs in 30d
Description
https://codesandbox.io/s/cannot-render-component-images-in-component-when-using-or-mapping-on-state-varia-forked-lt1oc?file=/src/App.js
If I have a state and I draw something based on that state, the image from holderjs won't load. I can use another placeholder like sourcing from Placeholder.com, and it works just fine.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the linked CodeSandbox, especially src/App.js, and reproduce the difference between rendering Holder.js images from React state or a mapped state value and using Placeholder.com. Compare the working and failing cases to identify the rendering incompatibility. Done means Holder.js images load when rendered from the state-driven component.
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
- Needs clarification
- Newbie friendliness
- 35/100