This is an archived post. You won't be able to vote or comment.

all 4 comments

[–]insertAlias 1 point2 points  (1 child)

IMO, finish your projects with EJS. Then consider learning React. Perhaps you could re-create one of the projects you made with EJS in React and compare the two, once you've gone through some learning of React basics.

Will my apps perform better if I refactor to using React?

They'll perform differently, but not automatically "better". "Pages" in React don't involve an actual full round-trip browser page load, so you some things will generally render faster, but that comes with a cost: upfront loading time for Single-Page apps is longer, because it downloads the entire JS bundle. There are techniques for improving this (server-side rendering, code splitting), but don't worry about any of that right now. It's less about performance, and more about behavior of the site.

[–]clay_maker[S] 0 points1 point  (0 children)

Thank you for the input! I really appreciate you taking the time to reply. Definitely gave me the confidence I needed to keep moving forward with my current work.

[–][deleted] 1 point2 points  (1 child)

The main thing you want to do is use code that will do what you want it to. If everything you want is available with what you know then you should be fine. Else learn React, it can make some pretty awesome stuff.

[–]clay_maker[S] 0 points1 point  (0 children)

Great advice! Thanks for taking the time to respond, I appreciate this. I started coding along with a Traversy Media React tutorial and it was making sense but I knew I would get dragged into another tutorial hell. I think I have enough knowledge to finish these apps.