coderwhy / coderwhy/hy-event-store
onStates监听多个变量的时候,只返回变化的那个变量,可以加个开关,控制是否返回所有变量
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 411
- Forks
- 45
- Avg merge
- 1m
- Merged PRs (30d)
- 6
Description
onStates监听多个变量的时候,只返回变化的那个变量,可以加个开关,控制是否返回所有变量
Contributor guide
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 locating the onStates implementation in the repository and read how it gathers values when multiple variables are observed. Define the optional switch's default behavior from the current implementation, then verify that both changed-only and all-variable results work for multi-variable listeners.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100