
Beginner’s roadmap to JS and React
In today’s world, frontend development is one of the major domains of interest for most tech based companies, irrespective of whether they are startups or well established ones. With this being the case JS and it’s various frameworks have come into the highlight and are likely to stay there for a not so short span of time. Thus, it makes sense for one to learn JS if they are to stay relevant in the market since there exist libraries such as React that are simple, fast, efficient and easy to use.
Before starting off on the journey of learning JS it is necessary to have a strong foothold in HTML, CSS and vanilla JavaScript. So it is highly recommended to review the basics of these three languages if your memory is a bit foggy.
If you are sufficiently confident with your basics, then it’s time for some motivation:
- It will surely take time to get used to web development, at least with the complex stuff. Learn at your own pace and you will eventually become a good developer.
- Don’t try to memorize stuff like syntax. Those things will become more obvious if you keep on using it while coding.
- In fact, most of the time, you’ll be using a code editor like VScode where autocomplete extensions come to the rescue incase if you forget something.
- GOOGLE more. Use google like never before. Visiting an official documentation site, blog posts, tutorials and stack overflow are very common.
- You can learn only by doing (at least in web dev). So build a project even if it is a simple one. There are tons of Youtube tutorials out there, helping people to build projects. Code along with them.
The following roadmap is most definitely not the only way for one to learn these concepts. It is always helpful to use multiple sources to make sure that a topic is clearly understood. There are project links provided along the way: Understanding a concept by using it in an application is a great way of learning. So don’t skip a project if the concepts used in that video aren’t familiar to you. Learn side by side. Also find other projects on Youtube to practice more.
Here are some JS and Git references that might be helpful:
JS
- DOM (Document Object Model) — Reference
- Variable Declarations (let & const) — Reference
- Functions & arrow functions — Reference
- Destructuring ( object ) — Reference
- Concepts of import and export — Reference
- Promises & Async (impt for API calls — somewhat complex, so take your time) Article , Promises , Async Await , Detailed video
In case if you want to know what in the world is API,
Let’s test what you learned with some hands on simple projects:
Git
One doesn’t need to know all git features to get started. These basics would be fine and remaining could be learnt on the way,
(Follow our instagram to check the git series by CSAU)
React
React.js ‘s new beta docs does a great job of explaining concepts in simple terms for beginners. Checkout react beta docs and start learning along with the sections of the sidebar.
- Basics
- JSX
- State and props
- Hooks playlist (each ‘video’ is around 10 mins, if interested have a look at all. But useState, useEffect and useRef videos are enough )
In case if you need all in one video, checkout Complete course on fcc (don’t get scared by the video length, it’s worth it).
Project1: simple to-do-list using react
Project2: simple notes-app using react
Intermediate React:
Advanced:
These interesting projects will help you gain experience on working with relatively complex react sites:
State management:
Hosting
For hosting your project to the world wide web, you could use free platforms like
- Vercel, render
- netlify and
- github pages (for static sites)
Channels
Youtube channels for learning web development (in no particular order):
Javascript Mastery, Dev Ed (developed by ed), Web Dev Simplified, FreeCodeCamp, Traversy Media, Clever Programmer, Net Ninja, Kevin Powell, Coding Addict, Programming with Mosh, Fireship.