Software Engineering Week 3
From my professional and academic experiences, I’ve used PugJS and EJS, which are both simple templating engines. These engines are quite straightforward and allow you to create simple HTML like templates and pass a JSON object to enable dynamic rendering. However, React stands out from PugJS and EJS with a component-based architecture. This enables a reusable, modular UI design, allowing React to focus on building dynamic, client-side interactivity using features like state management and the Virtual DOM for rendering. While allowing for more advanced and intricate designs, React’s steep learning curve is quite daunting, especially for simpler projects where PugJS or EJS might suffice. Something I was unfamiliar with before using react was the “useState” and “useEffect” functions. With templating engines I was used to using fetch calls in a function before passing the results to the template to be rendered. Overall, React’s flexibility and power make it attra...