What To Learn Before A JavaScript Framework

Upcoming Developers make the mistake of learning how to use a frameworks without knowing the basic language. Inasmuch as frameworks are great, you need to understand the basic language because frameworks are meant to simplify our task. Here is a guide on what to learn before learning any JavaScript framework –

  1. Learn JavaScript fundamentals –

    Ensure you learn all the fundamentals of JavaScript such as Basic syntax, variables, arrays, objects, events, functions, loops and conditionals. These will help you understand the under workings of a framework.

  2. Modules –

    It is important you understand the concept of modules and how it is used. Modules are used to import files/pieces of code into another file. Without modules, frameworks won’t even be in existence because it bundles different chunks of functions together as one.

  3. Classes –

    These are used mostly in React and Angular framework. You need to know how to create and use classes in programs before venturing into a framework. Concepts like – Structuring a class, instantiation, constructors, extending classes, methods and properties, etc. The basic knowledge is highly required.

  4. Arrow Functions – 

    These are much more compact and give advantages when it comes to scope in certain situations. It looks much cleaner and less lines of code. It is the standard in writing modern JavaScript scope and ‘lexical this’. Get comfortable using arrow functions before using any framework.

  5. Promises/Asynchronous Request – 

    Many asynchronous requests/responses use promises as they are a better solution than call backs. Ensure you learn how to create and receive promises, standard .then() and .catch() syntax. Async/Await is optional but also recommended. Learn the Fetch API for making HTTP requests. All these are used in frameworks to make coding process easier.

  6. Destructuring – 

    This is used to unpack values from objects and arrays. It is used a ton in frameworks and it makes for cleaner and more readable code. Knowing the concept behind this is necessary as it will help you better use it in frameworks.

  7. Concept of Components and states – 

    User Interface are broken up into individual components of which have some sort of state associated with them. Know how

  8. Spread Operator – 

    State is usually immutable, meaning we cannot simply change it, we need to make a copy. The spread operator allows us to do that.

  9. High Order Array Functions – 

    You need to know functions like foreach(), map(), filter(), etc which are used all the time to iterate through arrays.

These are the fundamental knowledge needed in JavaScript that will make your transition to a framework easy for you. Check out JavaScript Info to learn any of these concepts if you don’t know of any good material.

Please add topics not listed here in the comment below, like and share if you enjoyed it.

Thank you for reading.

Please Like and Share
  •   
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  

Related posts

One Thought to “What To Learn Before A JavaScript Framework”

  1. Chris Eche

    Wow, great write up.

Leave a Comment