Page: Commreactions
Summary
- Receives Comment ID and displays the number of reactions
- Shows User ID and the Follow / Unfollow button
UseEffect
router.isReady,loading
getLikesData() getFollowingData()
followingDetails
Once the data is ready restores scroll position.
localRestoreScrollPos(router.asPath)
goBack
Goes back to prev page
API Calls