Skip to content

A classic CRA Typescript Counter App built with Redux Toolkit. Uses the 'createSlice' method from the redux library. Also uses createAsyncThunks for a delayed effect for UI Updates

Notifications You must be signed in to change notification settings

The-Redux-And-Context-Portfolio/react-counter-with-redux-thunks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hey

---------------------------|---------|----------|---------|---------|-------------------
File                       | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s 
---------------------------|---------|----------|---------|---------|-------------------
All files                  |   89.52 |    68.75 |   93.61 |   89.32 |                   
 src                       |   33.33 |      100 |     100 |   33.33 |                   
  App.tsx                  |     100 |      100 |     100 |     100 |                   
  index.tsx                |       0 |      100 |     100 |       0 | 11-12             
 src/__test__              |     100 |      100 |     100 |     100 |                   
  render-with-provider.tsx |     100 |      100 |     100 |     100 |                   
 src/components/buttons    |     100 |       50 |     100 |     100 |                   
  index.tsx                |     100 |       50 |     100 |     100 | 19-24             
 src/components/controls   |     100 |      100 |     100 |     100 |                   
  index.tsx                |     100 |      100 |     100 |     100 |                   
 src/components/counter    |     100 |      100 |     100 |     100 |                   
  index.tsx                |     100 |      100 |     100 |     100 |                   
 src/components/hooks      |     100 |    83.33 |     100 |     100 |                   
  use-number-name.ts       |     100 |      100 |     100 |     100 |                   
  use-on-reset.ts          |     100 |       50 |     100 |     100 | 14                
  use-sound-hook.ts        |     100 |      100 |     100 |     100 |                   
 src/components/loader     |     100 |       80 |     100 |     100 |                   
  index.tsx                |     100 |       80 |     100 |     100 | 14                
 src/components/utils      |   47.05 |      100 |      50 |   47.05 |                   
  click-sound.ts           |      40 |      100 |      50 |      40 | 8-10              
  guitar-sound.ts          |      40 |      100 |      50 |      40 | 8-10              
  reset-sound.ts           |      40 |      100 |      50 |      40 | 8-10              
  sound-icons.ts           |     100 |      100 |     100 |     100 |                   
 src/redux-store           |     100 |        0 |     100 |     100 |                   
  cominbed-reducers.ts     |     100 |      100 |     100 |     100 |                   
  store.ts                 |     100 |        0 |     100 |     100 | 14                
 src/redux-store/hooks     |     100 |      100 |     100 |     100 |                   
  index.ts                 |     100 |      100 |     100 |     100 |                   
 src/redux-store/reducers  |     100 |      100 |     100 |     100 |                   
  counter.ts               |     100 |      100 |     100 |     100 |                   
  loader.ts                |     100 |      100 |     100 |     100 |                   
  sound.ts                 |     100 |      100 |     100 |     100 |                   
 src/redux-store/selectors |     100 |      100 |     100 |     100 |                   
  get-counter.ts           |     100 |      100 |     100 |     100 |                   
  get-sound.ts             |     100 |      100 |     100 |     100 |                   
 src/redux-store/thunks    |     100 |      100 |     100 |     100 |                   
  counter.ts               |     100 |      100 |     100 |     100 |                   
  delay.ts                 |     100 |      100 |     100 |     100 |                   
---------------------------|---------|----------|---------|---------|-------------------
Test Suites: 9 passed, 9 total
Tests:       28 passed, 28 total
Snapshots:   0 total
Time:        5.141 s
Ran all test suites.

About

A classic CRA Typescript Counter App built with Redux Toolkit. Uses the 'createSlice' method from the redux library. Also uses createAsyncThunks for a delayed effect for UI Updates

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published