Tuesday, March 19, 2024

Software Engineering: Journal 3

This week, for my software engineering class, we implemented the front-end of the React + Spring Boot app we have been working on. This was my first time using React, as most of my experience has been on the backend. However, for a previous class I took, Internet Programming, I had used JavaScript and EJS to build apps. In fact, this web app deployed using Docker and AWS was built using EJS, Node, Express, and vanilla JavaScript: https://bingehive.com/

Compared to that experience, I like React much more than EJS. The workflow seems a lot faster to me because you are building components that are reusable. I also like the fact that the HTML is in the same file as your JavaScript. That way, I don't have to switch between different files, which adds an extra cognitive load. The only criticism that I may have is the huge levels of abstractions React adds. It seems like for everything, you need another dependency that you may not know exactly what it's doing. On top of this, the file size you are sending to the client could increase to amounts that may be problematic if the client is on a slow connection.

No comments:

Post a Comment