DEV Community

Discussion on: state hook not a function

Collapse
 
jackmellis profile image
Jack

Use state only returns 2 things: currentPage and setExactPage. The others you'll need to write yourself

Collapse
 
krisrajzlive profile image
Raj

Thanks