-
Set up routing
-
Set up Chakra UI
-
Define the common types
-
Set up Redux architecture
-
To setup homepage and render products in the UI
-
To create authenticated routes, with login page
-
Filtering
-
Edit Product
activePage perPage = 2 totalProducts
activePage -> Product 1 Index, Product 2 Index 1 -> 0,1 2 -> 3,4 3 -> 5,6 4 -> 7,8 5 -> 9,10
can you come up with any expression that satisfies the above condition.
index >= 2 _ (activePage - 1) && index < 2 _ activePage