playcanvas / playcanvas/react

StrictMode: problem rendering splat

Open
#308 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
528
Forks
60
Avg merge
1m
Merged PRs (30d)
1

Description

When I use StrictMode, the splat disappears.

This happens because StrictMode re-renders the content.

Anything that re-renders the component containing the splat will cause it to disappear.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are named. First reproduce the disappearing splat under React StrictMode and inspect the component's rendering lifecycle; done means the splat remains visible when its containing component re-renders, with a regression test if the project has an applicable test location.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
computer-graphics, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.