Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LeetCode-OpenSource/ayanami
/ add
Method
add
demo/index.tsx:44–46 ·
view source on GitHub ↗
(state: State, count: number)
Source
from the content-addressed store, hash-verified
42
43
@Reducer()
44
add(state: State, count: number): State {
45
return { ...state, count: state.count + count }
46
}
47
48
@Reducer()
49
addOne(state: State): State {
Callers
4
constructor
Method · 0.45
SSRModule
Function · 0.45
minus
Method · 0.45
add
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected