alibaba / alibaba/rax

[Feature] 建议文档中状态管理部分加上异步方法带参数的例子

Open
#2,332 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
8k
Forks
611
PR merge metrics
No merged PRs in 30d

Description

建议在文档上加上状态管理effect方法中带参数的例子,我看文档下意识以为直接写参数就能调用,然而还要包一层payload

![image](https://user-images.githubusercontent.com/43069149/158114468-280a7ee6-3502-428e-a08f-80be0d80cc97.png)

Contributor guide

Open the contributing guide

Research direction

Start in the documentation's state-management section and review the effect examples, focusing on the case where an asynchronous method receives an argument. Done when the docs clearly show the payload-wrapping pattern and how to invoke the method with a parameter.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.