3 ms·
IMO, all stacks have their complications. I generally liked working with NodeJS, and plain JavaScript both on the server and browser side. It shines for applic
by gwbas1c 4y ago
IMO, all stacks have their complications.
I generally liked working with NodeJS, and plain JavaScript both on the server and browser side. It shines for applications where things are kept extremely simple.
If things are going to get a little complicated, swapping in Typescript will bring in the compiler to check things for you. This will be useful if your codebase gets large enough to refactor, and benefit from a statically checked compiler.
Remember that plain JavaScript in the browser is a thing, and if your needs are simple, you can do a lot with it.
Also: I really like Blazor and C#. It's a completely different stack, and much more complicated. But it's much more powerful, and the straightforward, templated HTML via razor is a real joy to work with.
Edit: One nice advantage of server-side Blazor is that you don't need to write an API to do AJAX. (IE, you can mix database queries in your UI code.) This "keep it simple" has it's place in some situations. (Of course, you can do in-browser Blazor with a proper API and separate layers if needed.)