Sumit Saurabh | Javascript | React Profile picture
Full Stack dev | Learn what $10k bootcamps don't teach | DevRel πŸ₯‘ @novuhq | Public Speaker | Daily Threads on Javascript, React, Open Source & Web Dev #100Devs
Local Kirana Profile picture 1 subscribed
Jun 23, 2023 β€’ 12 tweets β€’ 3 min read
How many of these common mistakes are you making in your React journey?

A thread on the top 10 React mistakes people make when learning React

(including 3 personal mistakes I've committed)

Read below! πŸ‘‡ 1. Skipping the basics:

This is a general tip that applies to things beyond React as well.

The progressive overload approach works well in React & if you skip A, you won't understand B fully.

You'd feel you do, but you really won't.

Better spend time mastering it early on!
Jun 23, 2023 β€’ 12 tweets β€’ 4 min read
"HTML is for newbies"

It is surprising how many people think "HTML is beneath them" and don't use its full capability.

Here are 10 HTML attributes to unleash the full power of HTML! 1. Hidden:

This attribute, as the name suggests, lets you hide elements from being rendered on the client screen.

No longer, do you need to fiddle with 'display: hidden' in CSS to hide something anymore.
Jun 22, 2023 β€’ 13 tweets β€’ 3 min read
ChatGPT has revolutionized the world.

And there's no reason why we web developers should not benefit.

That's why today, I'm sharing 10 ChatGPT prompts that web developers can use to make their lives easy! πŸ‘‡ 1. Code Debugging Assistance:

πŸ› "Hey ChatGPT, I'm struggling with a bug in my code. Can you help me identify and fix it? Here's the relevant code snippet: <add code snippet>."
Jun 22, 2023 β€’ 9 tweets β€’ 3 min read
JavaScript powers unlocked! πŸ”“πŸ§™β€β™‚οΈ

Ever since I started learning JS, I've read code written by seniors.

Reflecting on my code, I could see that my code lacked finesse.

I started learning & using techniques that made it 'smarter'.

Here are 5 tips I wish I'd known πŸ‘‡ First, let me clarify that I'm in no way suggesting that these should be used all the time and if you aren't using them, you're lacking in any sense.

This is just a reflection of introspection & I'm learning as well so I'm not an expert by any means.

Let's begin now:
Jun 21, 2023 β€’ 10 tweets β€’ 2 min read
There's a world beyond React

Let's dive into it! πŸ‘‡ While React has revolutionized the way we build user interfaces, it's always good to explore other options.

Let's take a look at some noteworthy frameworks in this thread.
Jun 21, 2023 β€’ 7 tweets β€’ 2 min read
Javascript mastery without making rookie mistakes is possible.

Here's how you do it in 5 steps as a beginnerπŸ‘‡ 1. Underestimating the importance of fundamentals:

Many devs rush into learning frameworks without understanding the fundamentals first.

This is a grave mistake that will haunt you.

Spend time learning the basics and you'll be surprised how fast you progress.

πŸ—οΈ
Mar 20, 2023 β€’ 12 tweets β€’ 4 min read
Javascript one-liners that will save you 100s of hours.

Do more, with less code! 1. Use template literals for string concatenation:
Mar 19, 2023 β€’ 12 tweets β€’ 7 min read
Javascript is a vast language.

It takes a lot of difficulty to master it.

Here are 10 books to make it easier! 1. JavaScript: The Good Parts by Douglas Crockford

As the name suggests, this is a book that focuses on the best parts of Javascript.

It covers the essential concepts without the unnecessary ones.

πŸ”— amazon.com/JavaScript-Goo…
Mar 19, 2023 β€’ 12 tweets β€’ 7 min read
Javascript is the language of the web.

Learn it well and you'll have a thriving tech career.

Here are 10 courses to help: 1. JavaScript by Pluralsight

This course has been designed to get you up and running with Javascript quickly.

It is a great one to get started with

Link: pluralsight.com/courses/javasc…
Mar 18, 2023 β€’ 12 tweets β€’ 3 min read
Javascript is a vast language with many concepts to learn.

But you learn it better by building projects.

Here are some projects you can try: 1. A Responsive website:

This sounds cliched I know but there's a reason behind it.

This is almost a must-have in your portfolio.

πŸ’‘ You can take it further by incorporating parallax scrolling, micro-animations and 3D illustrations.

Difficulty: 2/5
Mar 18, 2023 β€’ 12 tweets β€’ 7 min read
According to Netcraft, the internet has over 1,800,000,000 websites

But most aren't useful for web developers.

Here are 10 websites that actually are: 1. Frontend Mentor

It has a variety of real-world design challenges for web developers to work on.

They provide detailed designs, style guides & assets for each challenge too.

Best for: Front-end devs looking to improve their design skills.

πŸ”— frontendmentor.io
Mar 17, 2023 β€’ 7 tweets β€’ 2 min read
πŸ“Œ Object Oriented Programming is used in big projects with a large codebase.

Here's the second pillar of OOP in Javascript, explained in easily digestible language.

A thread on Abstraction 🧡 Image 🌟 Abstraction is one of the four fundamental pillars of OOP (Object Oriented Programming).

🎁 It basically means hiding out unnecessary details and showing just what's necessary.

Let's take an example to understand it better...πŸ‘‡
Mar 17, 2023 β€’ 9 tweets β€’ 2 min read
πŸ“Œ Object Oriented Programming is used in big projects with a large codebase.

Here's the first pillar of OOP in Javascript, explained in easily digestible language.

A thread 🧡 πŸ™… In non-OOP (Object Oriented Programming) languages, we've data in variables and functions that operate on them.

πŸ₯² There isn't anything wrong with it till the code base is small.

πŸ₯² However, things become difficult when the codebase becomes large.
Mar 16, 2023 β€’ 7 tweets β€’ 3 min read
Async and await are powerful tools in the arsenal of any JavaScript developer.

But even experienced developers can struggle with these concepts.

Here's a simple explanation: Image πŸ‘‰ Async keyword:

This keyword tells Javascript that the function being declared is an async one.

It is usually paired with the await keyword (inside the function)

The use of the async keyword means that the function always returns a promise. Image
Mar 16, 2023 β€’ 7 tweets β€’ 4 min read
Are you a Web Developer?

Is keeping up with rapidly changing technologies hard? πŸ€”

Don’t worry!

Here's a collection of some of the top five cheat sheets to master web development! Image 1. CSS cheat sheet

This is the best CSS cheat sheet you'll find. It covers all aspects of CSS from flexbox to positioning to animations.

What I like about this website is that it has illustrations to demonstrate the properties being discussed.

πŸ”— cssreference.io Image
Mar 4, 2023 β€’ 12 tweets β€’ 5 min read
Mastering Javascript is difficult but it doesn't have to be!

🧡 10 FREE resources for you: 1. Eloquent Javascript:

If there's one book, you absolutely must read in your Javascript journey, it is this one.

In fact, it is one of those books that requires you to go through it multiple times in order to fully comprehend it.

Find it here: eloquentjavascript.net
Mar 3, 2023 β€’ 20 tweets β€’ 5 min read
Javascript explained:

findLast() and findLastIndexOf() array methods! Image The findLast and findLastIndexOf methods are used to search an array for the first element that satisfies a specific condition & return its value or index, respectively.

In this thread, we'll discuss these methods in more detail, code examples and their use cases.
Mar 3, 2023 β€’ 16 tweets β€’ 4 min read
Javascript explained!

indexOf and findIndexOf methods in Arrays Hey folks, in today's thread, we'll take a look at two prominent array methods in Javascript - find and findIndexOf.

These are two of the most important array methods used to search an array.

Let's take a deep dive:
Mar 2, 2023 β€’ 13 tweets β€’ 4 min read
Javascript explained:

splice() method in arrays! πŸ‘‹ Hey friends, today let's talk about one of the lesser-known methods of manipulating arrays in JavaScript - array .splice()

So what is .splice()?

Simply put, it's a method that allows us to add or remove elements from an array.
Mar 2, 2023 β€’ 12 tweets β€’ 3 min read
Javascript explained:

map() method in Arrays Image πŸ€” Are you tired of writing long loops to modify each element of an array?

With Array. map(), you can now do it with just a few lines of code!
Mar 1, 2023 β€’ 14 tweets β€’ 4 min read
Javascript explained:

reduce() method in Arrays! Image If you're a JavaScript developer, you've likely come across the reduce() method of arrays at some point.

But do you know how to use it effectively?

Let's explore what it does and how it works!