Building large scale application is more difficult than many people understand or expect. Join me in this long running series where I set out to duplicate one of the most popular social media platforms ever creating using Java, Spring Boot, Spring Security, PostgreSQL data, React JS web application framework and more.
In this episode we work on wrapping up the work needed to display the members and followers of a specific list inside of the modal we started at the end of the last episode. To do this we first created a new top component that allows us to display which modal we are on, as well as a way to close out of the modal. Once we were happy with that we installed it into the modal, then we needed to make a couple small modifications to a couple other components before creating the List members or followers modal content component. Here we get the list of users to display and map through them, displaying either a follow card, or a list user card. If there are no users to display we simply display some text. After thats complete we install it, and test to insure everything is working as it should be.