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 continue our refactoring efforts for creating a post. Today we start out in the ReplyRestrictionDropdown which was not showing up properly from the previous episodes changes. Once we fix up the ReplyRestrictionDropdown and it it once again working, we shift focus to FeedPostCreatorImage so we can take in an index, as well as calculate the height and width of the image that is loaded in. After working on the FeedPostCreator, we update a few functions to do with displaying images, and tagging people to posts in the FeedUtils file, before jumping into the FeedPostCreatorImages component and using the updated functions. We wrap up the episode in the CreatePostButton cluster setting up the ability for us to once again attach images to our post, and see them in the feed post creator.