Full Stack dev | Learn what $10k bootcamps don't teach | π₯ @novuhq | Public Speaker | Daily Threads on Javascript, React, Open Source & Web Dev
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.
findLast() and findLastIndexOf() array methods!
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
π€ 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!
If you're a JavaScript developer, you've likely come across the reduce() method of arrays at some point.