A thread. 🧵 👇
Reusable named blocks of code that help to organize and prevent repetition.
The basic function declaration concept will be used constantly with any framework.
If statement and switch cases. The conditional allows you to write code that reacts to user inputs, dynamic data and decisions.
They are the main construct of implementing logic.
Repeat a block of code a set number of times or until a condition is met.
Also used to prevent repetition and react to dynamic data. Think about an array where you don't know how many elements it will have.
The ability to interact with external data with a 'request' and 'response' approach.
Knowing how interact with an API is a key skill. Frameworks are used heavily for interacting with external data.
⚡ TL/DR ⚡
There is of course a ton more to learn but these fundamental programming concepts will make learning Svelte, Vue and React a bit easier.
I've been a frontend web developer for 7+ years! Co-host of the HTML All The Things Podcast. Vue.js Enthusiast. I love all things technology.