DEV Community

Shahroz Ahmed
Shahroz Ahmed

Posted on

React Or Javascript ???

Hello Folks,

Today I came up with a question which some times seems funny but many times I think it is a serious issue.

I just want a piece of advice from all our senior developers that A person who is learning MERN stack nowadays. What you all will suggest that either he has to spend most of the time in learning more and more about Javascripts (ES6+) or just learn the most useful features of ES6 and move on to react.

The Discussion is open to all :)

Top comments (8)

Collapse
 
dannylockhart91 profile image
Danny Elliott • Edited

If your considering learning anything to do with front-end development, you should always consider JS at its foundation a priority. MERN utilises the same principals in 3 of its branches and react is itself only a library, you should start off learning Javascript first and then move onto the libraries, frameworks and modules that are built with it.

Collapse
 
shahrozahmd profile image
Shahroz Ahmed

Thanks a lot Danny for your precious advice I will definately work on it 🙂

Collapse
 
fernandoperigolo profile image
Fernando Souza

Hi! Do you have any prev experience with web development? As soon you got the basics, i recommend you to move react and start to make things.
React is just Javascript, I'm sure you will get fun doing things instead try to learn all Javascript details

Collapse
 
shahrozahmd profile image
Shahroz Ahmed

Yeah luiz I have previous development experience but the projects I have build was like some static websites or landing pages where I mostly use bootstrap and html with little bit of Css and a very few lines of javascript.. Now a days I focus more or learnibg Js in depth but I am confuse to learn just basic of js and move on to react and then learn the Js under the hood of react or what?

Collapse
 
fernandoperigolo profile image
Fernando Souza

You can do start by doing components, calling this components inside each other. Then start to work with component props and state. Then start to create some things like a investment calculator where you can input values and handle this numbers.
Start to work with routers and try to fetch data from some api.
At the end, i guarantee you will be learning a lot of Javascript and react at same time, you will be motivated and happy doing projects.
You will be surprised about the amazing stuff you can do with react.

Well, this is my opinion and the way a learned. Go deep in js will never be bad, but do projects is the thing to me.

Thread Thread
 
shahrozahmd profile image
Shahroz Ahmed

Thanks, a lot Luiz for your precious advice. It makes me clear on how do I can learn the most with fewer efforts :)

Collapse
 
dance2die profile image
Sung M. Kim

If you are familiar w/ JS foundation, you would even choose Vue, Svelte or other frameworks over React depending on what you'd like to do.

Collapse
 
shahrozahmd profile image
Shahroz Ahmed

I am familiar with ES5 and nowadays learning to ES6 features. ASAP I will complete my ES6 I will surely move on by considering your advice :)