Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/reduxjs/redux
/ Counter.js
File
Counter.js
examples/counter/src/features/counter/Counter.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
React, { useState } from
'react'
;
2
import
{ useSelector, useDispatch } from
'react-redux'
;
3
import
{
4
decrement,
Callers
nothing calls this directly
Calls
5
incrementIfOdd
Function · 0.90
decrement
Function · 0.85
incrementAsync
Function · 0.85
dispatch
Function · 0.50
increment
Function · 0.50
Tested by
no test coverage detected