Fundamental JavaScript concepts to learn before jumping into React, Svelte or Vue

A thread. 🧵 👇

1. Functions

Reusable named blocks of code that help to organize and prevent repetition.

The basic function declaration concept will be used constantly with any framework.

https://t.co/zXLbM3aKYD
2. Conditionals

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.

https://t.co/F2fuit27Sy
3. Loops

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.

https://t.co/GsfT8b1DA5
4. Arrays

Arrays in JavaScript are the most used data structure. They have built in functionality that allows you to filter, sort, search and iterate over them.

They are heavily used in most JavaScript frameworks to build out dynamic user interfaces.

https://t.co/JnGYnZRITa
5. Fetch

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.

https://t.co/2kQ6K5NokY
⚡ TL/DR ⚡

1. Functions
2. Conditionals
3. Loops
4. Arrays
5. Fetch
There is of course a ton more to learn but these fundamental programming concepts will make learning Svelte, Vue and React a bit easier.

If you found this helpful, retweeting the first post in the thread helps others find this!

You May Also Like

THE MEANING, SIGNIFICANCE AND HISTORY OF SWASTIK

The Swastik is a geometrical figure and an ancient religious icon. Swastik has been Sanatan Dharma’s symbol of auspiciousness – mangalya since time immemorial.


The name swastika comes from Sanskrit (Devanagari: स्वस्तिक, pronounced: swastik) &denotes “conducive to wellbeing or auspicious”.
The word Swastik has a definite etymological origin in Sanskrit. It is derived from the roots su – meaning “well or auspicious” & as meaning “being”.


"सु अस्ति येन तत स्वस्तिकं"
Swastik is de symbol through which everything auspicios occurs

Scholars believe word’s origin in Vedas,known as Swasti mantra;

"🕉स्वस्ति ना इन्द्रो वृधश्रवाहा
स्वस्ति ना पूषा विश्ववेदाहा
स्वस्तिनास्तरक्ष्यो अरिश्तनेमिही
स्वस्तिनो बृहस्पतिर्दधातु"


It translates to," O famed Indra, redeem us. O Pusha, the beholder of all knowledge, redeem us. Redeem us O Garudji, of limitless speed and O Bruhaspati, redeem us".

SWASTIK’s COSMIC ORIGIN

The Swastika represents the living creation in the whole Cosmos.


Hindu astronomers divide the ecliptic circle of cosmos in 27 divisions called
https://t.co/sLeuV1R2eQ this manner a cross forms in 4 directions in the celestial sky. At centre of this cross is Dhruva(Polestar). In a line from Dhruva, the stars known as Saptarishi can be observed.