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

This is NONSENSE. The people who take photos with their books on instagram are known to be voracious readers who graciously take time to review books and recommend them to their followers. Part of their medium is to take elaborate, beautiful photos of books. Die mad, Guardian.


THEY DO READ THEM, YOU JUDGY, RACOON-PICKED TRASH BIN


If you come for Bookstagram, i will fight you.

In appreciation, here are some of my favourite bookstagrams of my books: (photos by lit_nerd37, mybookacademy, bookswrotemystory, and scorpio_books)