Search
Coding Exercise: Build JavaScript Array Methods From Scratch
27.11.2018
https://www.youtube.com/watch?v=ALYH5XOvMwI
There's no better way to ensure that you understand how something works than building yo
Object.fromEntries
9.11.2018
The Object object has been buffed with useful methods over the past few years. Object.keys, Object.values, Object.freeze, and Object.assign all address frequently desired functionality. One of the new Object methods is fromEntries, which accepts a Map or map-like array nesting and converts it...
Render Children in React Using Fragment or Array Components
17.7.2018
What comes to your mind when React 16 comes up? Context? Error Boundary? Those are on point. React 16 came with those goodies and much more, but In this post, we'll be looking at the rendering power it also introduced — namely, the ability to render children using Fragments and Array...
JavaScript Functional Programming (Solution to Code Challenge #11)
22.6.2018
Tried the code challenge #11? In that, we delved into solving basic array problems using array methods s
Debugging JavaScript in Google Chrome and Visual Studio Code
19.6.2018
Learning to debug is an essential skill for taking the next step as a developer. It's important to understand and leverage the vast array of tools that exist for a given languge. Unfortunately, deb
Understanding the Almighty Reducer
13.6.2018
I was reently mentoring someone who had trouble with the .reduce() method in JavaScript. Namely, how you get from this:
const nums = [1, 2, 3]
let value = 0
for (let i = 0; i < nums.length; i++) {
value += nums[i]
}
...to this:
const nums = [1, 2, 3]
const value = nums.reduce((ac, next)...
Understanding React `setState`
25.4.2018
React components can, and often do, have state. State can be anything, but think of things like whether a user is logged in or not and displaying the correct username based on which account is active. Or an array of blog posts. Or if a modal is open or not and which tab within it is active.
React...
Script & Style Show: Episode 5: Q&A
1.4.2018
On this week’s episode: Todd’s back from vacation while David’s knee-deep in a Firefox Debugger breakpoint UI update. We eventually move on to viewer questions that range form JavaScript knowledge, the Array.flatten controversy, front-end testing (TDD vs. BDD), and mastering...
Rusko stále neumí vyrábět termovizní přístroje
18.3.2018
Klíčovou součást termovizních přístrojů představují detektory v mozaikovém uspořádání. Vyrábí se pouze v několika zemích světa a ruské ozbrojené síly jsou závislé na jejich dovozu. Dmitrij Rogozin, vicepremiér odpovídající za zbrojní průmysl, v roce 2012 přislíbil jejich domácí výrobu, Rusko...