When should I move onto frameworks

hey!! so, i been thinking, I'm doing js for a month or so and i think i right now am familiar with most of the fundamentals of js and how they work now I was wondering at what point should I move onto framework? or what things should I complete learning about js before moving onto framework.. cause I'm currently out of thoughts over what things i should proceed to learn in js now
20 Replies
Jochem
Jochem2y ago
For me the bare minimum you should be familiar and comfortable with before moving to a framework, beyond basic syntax: * Scope, mostly as it relates to arrow functions * fetch * document.querySelector and .querySelectorAll * functional array methods like .map, .filter, .forEach, and to a lesser degree .reduce * Applying said array methods to the result of .querySelectorAll * Event handlers I'm probably forgetting some, but it's a decent start also, don't be afraid to go back to vanilla JS if you notice there's a gap in your knowledge
Mannix
Mannix2y ago
shit I'm getting close to the frameworks 😨
Jochem
Jochem2y ago
you don't have to, look at Beck, he's perfectly happy sticking with vanilla ;D
glutonium
glutoniumOP2y ago
hmm.. i do know the concept of all of em expect the fetch() I'll get to know about that those here that r related to array, ik about then and what they do or how they work but never used them so I'll try to get done with that as well i think it'll be better if i get a bit more understanding about query what do you think? and by event handlers u mean the eventListeners ryt?
Jochem
Jochem2y ago
yeah, eventListeners, sorry
glutonium
glutoniumOP2y ago
no prob xD
Jochem
Jochem2y ago
hm, especially if you want to use React and JSX (not that I'd necessarily recommend it), you'll need to use .map a lot. Some full stack frameworks might abstract fetch away from you, but it's still good to use it and understand it
glutonium
glutoniumOP2y ago
by the name of it.. I'm assuming .fetch() works like user input or something? and one more question, say I want to complete my development on fronted, what framework would be the best start with
Jochem
Jochem2y ago
fetch performs HTTP requests to servers, you mostly use it to access APIs, either public ones or your own backend API "best" is hard to quantify really... If you're doing it to eventually get a job, look around your local area and pick the most popular framework in local job listings. If you just want to have fun for now, and still learn the concepts of using a framework, take a look at svelte and sveltekit. Svelte is the main framework, Sveltekit is the fullstack version where you have a front and backend. The developer experience is probably one of the best out there right now. The industry default is still unfortunately React, but that seems to be changing a bit. Vue is also excellent, and pretty commonly used. Basically, read the blurbs, read a recent comparison article or two, and pick one you think you'll like the most. A lot of the concepts you learn in one, translate very well to the others
glutonium
glutoniumOP2y ago
hmm k gotcha yaaa got it well m learning for fun rn so i guess it doesn't very much matter whichever i choose but i will checkout all the things u said.. and really really thank you for helping out.. much love ❤️
Jochem
Jochem2y ago
always glad to help 🙂
glutonium
glutoniumOP2y ago
@jochemm sorry for the ping but, should I also learn about promises and async await?
13eck
13eck2y ago
If you haven’t yet, you go through https://JavaScript.info and be comfortable with most of it
13eck
13eck2y ago
To properly answer your question, you’ll need to know about promises, yes. fetch() that was mentioned above uses promises. So to know fetch() is to know promises Async/await is just syntactic sugar over promises. So know promises and async/await isn’t too hard to learn
Jochem
Jochem2y ago
I knew I was going to forget something important. You definitely should. Also the site Beck linked is an excellent resource
glutonium
glutoniumOP2y ago
k tnx aah okee tnx ❤️
Tenkes
Tenkes2y ago
I would also add destructuring, spread and rest operator, template literals and ternary operator
Jochem
Jochem2y ago
yet more good ones
glutonium
glutoniumOP2y ago
@Sp1t3ful
Want results from more Discord servers?
Add your server