Determining what this is is actually rather simple. The overarching rule is that this is determined at the time a function is invoked by inspecting where it’s called, its call site. It follows these rules, in order of precedence.
⏱ 4 min read
🔘 #JS
⏱ 4 min read
🔘 #JS
Medium
The Simple Rules to ‘this’ in Javascript
A few rules determine what the 'this’ keyword is inside a function
To explain what new does, let’s start with just a normal function, called without new. We want to write a function that will create “person” objects. It’ll give these objects name and age properties based on parameters that it takes in.
⏱ 4 min read
🔘 #JS
⏱ 4 min read
🔘 #JS
Medium
Javascript’s “new” Keyword Explained as Simply as Possible
Normal Function Call
I think it’s great that the JavaScript community is paying attention to the problems caused by the use of classes and inheritance, but I’m worried that the beginners are confused as classes are both “bad” and were just added to the language. Even more confusingly, some libraries, notably React, use ES6 classes all over its documentation. Is React intentionally following “bad practices”?
⏱ 5 min read
🔘 #React
⏱ 5 min read
🔘 #React
Medium
Mixins Are Dead. Long Live Composition
When React 0.13 came out, everybody freaked out.
Custom hooks leverage the power of React hooks to add additional functionality to our React apps. Since the release of the React Hooks, there has been an explosive growth of custom hooks, thousands of React devs all over the world have churned out hundreds of custom hooks that simplify most of the arduous and boring tasks we do in React projects.
⏱ 6 min read
🔘 #React
⏱ 6 min read
🔘 #React
Medium
11 Useful Custom React Hooks for Your Next Web App
Top 11 recommended ReactJS custom Hooks — with examples.
🤖 Coding News ⚡️ pinned «Recently I had to decide what technology to use for a large javascript project to make ajax calls. If you are using JavaScript, you have different chances to make call requests. ⏱ 6 min read 🔘 #JavaScript»
You spend a significant amount of time each day in your code editor, invest in yourself.
⏱ 6 min read
🔘 #TextEditor #VScode
⏱ 6 min read
🔘 #TextEditor #VScode
Medium
7 VS Code Extensions that will make your life significantly easier.
You spend a significant amount of time each day in your code editor, invest in yourself.
🤖 Coding News ⚡️ pinned «I was always interested in color science. In 2014, I gave a talk about CSS Color 4 at various conferences around the 🌎 ... ⏱ 7 min read 🔘 #CSS»
Have you noticed how the same cliche questions always get asked at job interviews — over and over again?
⏱ 6 min read
🔘 #Programming
⏱ 6 min read
🔘 #Programming
freeCodeCamp.org
How to explain object-oriented programming concepts to a 6-year-old
by Alexander Petkov Have you noticed how the same cliche questions always get asked at job interviews — over and over again? I’m sure you know what I mean. For example: > Where do you see yourself in five years? or, even worse: > What do you consider to be
Acey is a Global State Manager for React Apps based on classes.
This article is submitted by one of the @CodingNews subscribers. I encourage you to share your own open source projects and articles as well. You can share them via @CodingNewsFeedbackBot.
⏱ 3 min read
🔘 #React
This article is submitted by one of the @CodingNews subscribers. I encourage you to share your own open source projects and articles as well. You can share them via @CodingNewsFeedbackBot.
⏱ 3 min read
🔘 #React
Next year, I’ll be entering my 10th year of being formally employed to write code. Ten years! And besides actual employment, for nearly 2⁄3 of my life, I’ve been building things on the web. I can barely remember a time in my life where I didn’t know HTML, which is kind of weird when you think about it.
⏱ 8 min read
🔘 #Career
⏱ 8 min read
🔘 #Career
Monica Lent's Website
7 Absolute Truths I Unlearned as Junior Developer
A few things I strongly believed when I was a junior developer which turned out to be wrong.
JavaScript has been evolving very rapidly in recent years. Especially after the release of ES6 in 2015, things have been great. A lot of new features were being proposed to be included in the ES2020 version.
⏱ 6 min read
🔘 #JavaScript
⏱ 6 min read
🔘 #JavaScript
Medium
ES2020 Has Been Finalized. Here is What I’m Excited About
Features that would have made my life easier If I had used them before
Visual Studio by Microsoft is one of the top integrated development environments (IDEs). It enables developers to integrate their existing development suite with other applications, adding a lot of features in the process to boost your productivity. As a part of Microsoft’s efforts to open source their code, Visual Studio is available as free and open-source software.
⏱ 7 min read
#IDE
⏱ 7 min read
#IDE
Medium
10 Top Visual Studio Code Extensions in 2020
Recommended VS Code extensions
This is the typical structure I use for my medium-sized Node backends. For small backends, I'd probably just put everything in one file and I might not bother with build tooling.
⏱ 7 min read
#Node
⏱ 7 min read
#Node
Kentcdodds
How I structure Express apps
The build/dev tools and scripts I use for Node backends.
Okay, now for some reason, you’ve finally chosen Chrome as the browser you’re developing for. Then you open Developer Tools and start debugging your code...
⏱ 8 min read
#Chrome
⏱ 8 min read
#Chrome
Medium
Use Chrome DevTools Like a Senior Frontend Developer
6 tips you must know if you choose Chrome as your development environment.
Typical mistakes that developers sometimes make when working with functional components and hooks in React component.
⏱ 5 min read
#React
⏱ 5 min read
#React
Medium
3 Mistakes Junior Developers Make With React Function Component State
A follow-up to “3 Mistakes Junior Developers Make With a React Component’s State”
Deno v1.0.0 is scheduled for release on May 13. Here are a few interesting facts that may play a role in determining that.
⏱ 6 min read
#Deno
⏱ 6 min read
#Deno
Medium
What is Deno and will it Replace NodeJS?
Deno v1.0.0 is scheduled for release on May 13. Here are a few interesting facts that may play a role in determining that.
Don’t get me wrong, I like Firebase — but with everything dev related, there’s always a good and bad side, with a pinch of annoying that no one really wants to talk about.
⏱ 6 min read
#Firebase
⏱ 6 min read
#Firebase
Medium
Is Firebase really as awesome as it seems?
weighing up the good, the bad, and the annoying
JavaScript is now a very popular programming language, based on which a large number of libraries and frameworks have been derived. But no matter how the upper ecosystem evolves, it can’t do without vanilla JavaScript. Here I’ve selected 4 JavaScript interview questions to test a programmer’s skill of vanilla JavaScript.
⏱ 11 min read
#JavaScript
⏱ 11 min read
#JavaScript
Medium
Improve Your JavaScript Level With These 4 Questions
Things you should know to prepare JavaScript Interviews.
Understanding Data Structures is helpful in all aspects of programming, you don’t need to have a particular use case where you’ll use a Tree or a Graph to have to consider learning about them. In fact, I don’t think I’ve ever implemented a proper Tree structure in my 15 years of software development, however, understanding how they work has helped me several times in the past.
⏱ 12 min read
#JavaScript
⏱ 12 min read
#JavaScript
Medium
Data Structures You Should Know as a JavaScript Developer
Understanding Data Structures is helpful in all aspects of programming, you don’t need to have a particular use case where you’ll use a…