shimupan / lineupx

A Free Lineup Database for a Variety of Games
https://lineupx.net
MIT License
20 stars 0 forks source link

Profile page following and folloer pop up changes #371

Open Jordon1377 opened 1 month ago

Jordon1377 commented 1 month ago

Is your feature request related to a problem? Please describe. Currently the page is reloaded every time a user follows and unfollows someone. THis is done to refresh and correct all the useStates that make up follower/following numbers and lists. This process is quite slow.

Describe the solution you'd like <-- A clear and concise description of what you want to happen. --> IT would be ideal to share the functions that can change these usestates with the popup tsx files. Then the correct states could be modified upon the unfollow/following actions made by the user. This will make the interphase more seamless. This will require a bit of organizing and understanding the code structure.