ββ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