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

Nano Course On Python For Trading
==========================
Module 1

Python makes it very easy to analyze and visualize time series data when you’re a beginner. It's easier when you don't have to install python on your PC (that's why it's a nano course, you'll learn python...

... on the go). You will not be required to install python in your PC but you will be using an amazing python editor, Google Colab Visit
https://t.co/EZt0agsdlV

This course is for anyone out there who is confused, frustrated, and just wants this python/finance thing to work!

In Module 1 of this Nano course, we will learn about :

# Using Google Colab
# Importing libraries
# Making a Random Time Series of Black Field Research Stock (fictional)

# Using Google Colab

Intro link is here on YT: https://t.co/MqMSDBaQri

Create a new Notebook at https://t.co/EZt0agsdlV and name it AnythingOfYourChoice.ipynb

You got your notebook ready and now the game is on!
You can add code in these cells and add as many cells as you want

# Importing Libraries

Imports are pretty standard, with a few exceptions.
For the most part, you can import your libraries by running the import.
Type this in the first cell you see. You need not worry about what each of these does, we will understand it later.