Open Sabita9818 opened 8 months ago
Task 1: Use createSlice from redux toolkit
createSlice
Create three button Increment, Decrement, Increment by 5
Increment
Decrement
Increment by 5
Initial count value should be 0
0
https://redux-toolkit.js.org/tutorials/typescript
Task 2: Use RTK (createApi from redux toolkit)
createApi
Display first 20 Pokemon in home page
20
When any Pokemon is clicked, display detail of that Pokemon
https://redux-toolkit.js.org/tutorials/rtk-query
https://github.com/steamnp/bfs45/tree/nirjala-global-state-management-task1
https://github.com/steamnp/bfs45/tree/nirjala-rtk-pokemon
Task 1: Use
createSlice
from redux toolkitCreate three button
Increment
,Decrement
,Increment by 5
Initial count value should be
0
https://redux-toolkit.js.org/tutorials/typescript
Task 2: Use RTK (
createApi
from redux toolkit)Display first
20
Pokemon in home pageWhen any Pokemon is clicked, display detail of that Pokemon
https://redux-toolkit.js.org/tutorials/rtk-query