playcanvas / playcanvas/react

ElementComponent has a bug.

Open
#303 1 comment 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

Image

Could we add a custom handler in the "useComponent" to allow external functions to be passed in to handle each "useComponent"?
If this is done, users will be able to fix bugs by themselves, and at the same time, they can also perform secondary processing on some data.

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

Start by locating ElementComponent and the useComponent implementation, then review how each useComponent is currently handled. Clarify the proposed external handler API and its expected behavior before changing it; the work is done when external functions can handle individual useComponent cases and the behavior is covered by the project's existing checks.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.