MCPcopy
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

1import React, { useState } from 'react';
2import { useSelector, useDispatch } from 'react-redux';
3import {
4 decrement,

Callers

nothing calls this directly

Calls 5

incrementIfOddFunction · 0.90
decrementFunction · 0.85
incrementAsyncFunction · 0.85
dispatchFunction · 0.50
incrementFunction · 0.50

Tested by

no test coverage detected