For further actions, you may consider blocking this person and/or reporting abuse
Read next
Inject HTML snippet from file
Andrew Elans -
How to Create an interactive color-shifting hover card with Tailwind CSS and JavaScript
Michael Andreuzza -
React + AWS Cognito: Email Authentication Setup Guide (First Part)
Jaime -
Running a Function When an #await Block resolves in Svelte(Kit)
Abdullah Bashir -
Top comments (26)
As a beginner to JavaScript none of these, build vanilla apps first.
Thanks @ivanjeremic ! If you don't mind, could you please suggest some examples with which vanilla apps should I begin with? :D
visit javascript30.com/ , it provides 30 js projects in 30 lessons 1 for a day
People should stop learning and using express. It's so dated and there are many better options.
It would be more helpful if you could provide some options too and their source for learning. Thanks in advance. :D
You could go for Fastify, or just plain
http
. The rest of us learntexpress
and got stuck in it.Encourage the people making the tech decisions for your teams to make better choices and when you get the chance to choose tech, don't saddle people with inferior libraries. Express is from a time before es2015, it isn't designed or optimised for our present time.
Just like
request
Just curious, what do you think should be used for a backend server then and why? Honestly for me, I have no problems or delusions with express. It's very easy to create apps with it and it suits me pretty well.
It works well, but since it was built very long ago, it may not be suited for today. You may think that could be changed, but to maintain backwards compatibility they won't.
For you, since you are a beginner, it may not matter. But I still recommend using newer libraries, which may be better.
I understand that. But what makes it not suitable for today, and what libraries should I go for and what modern problems do they solve then? That's what I was just curious about.
Express is not that maintained. It can't even handle
async
/await
(#4360) and you get anUnhandledPromiseRejectionWarning
(note that in the future this will crash your app, and it can cause memory leaks). And much more.As for alternatives, you could try
fastify
orAdonisJS
Avoid React like the plague
Okay @jonrandy ! But it would be more helpful if you could give some reasons for the same. Hope you don't mind. :D
I disagree with the suggestion. React is very opinionated. I mean very very. And learning React will not teach you JavaScript in any way. And it requires its own tool chain. A lot of tools, and conventions. And it implies a lot of dependencies. I mean, a large lot. And it evolves rapidly.
However, it is the standard de facto and learning plain JavaScript will not teach any of the things that React requires. So I second the other suggestions, learn some plan JavaScript, and then move to MERN. And once you moved, keep your vanilla muscles warm by doing some katas every now and then.
Vanilla first. Then MERN. Angular seems to be dropping in popularity. Just from my observation
Okay ! Thanks for your suggestion @seanmclem :D
I would focus on frontend or backend and the choose one framework.
I would recommend doing some JS basics on FreeCodeCamp, but not too much. I learned better doing practical stuff.
Noted! Thanks @kayis :D
Thanks ! @pieterverheyden for your valuable suggestion. This one's really helpful. :D
React has a lower learning curve, but Angular is extremely powerful. If you're okay with the curve choose Angular, else React. Also, like others said, use vanilla JS first.
Noted ! Thanks for your suggestion. :D
Learn JS
That's a really great question..
First you should learn basics of JavaScript.
As you are a beginner you can learn MERN stack.
react first as it has a low learning curve then go to node
Noted! Thanks @zakiazfar :D