Creează un cont pentru a te abona la acest blog și a-i urmări articolele pe pagina Lectură.
-
import Example1 from '.
-
import BackgroundCounter from '.
-
In JavaScript, and some other languages, too, there is the concept of a "closure".
-
import ItemSelectorBad from '.
-
I've been working on lessons for a new course recently, and one of the the lessons I created inspired me to share one of my favorite techniques for creating flexible functions: dependency injection and default parameters.
-
I'm writing this post because I've forgotten the following material enough times to warrant leaving myself a permanent resource for future reference.
-
Since the advent of React hooks, I have seen a pattern emerge that I think is less than ideal.
-
import SocialPost from '../../..
-
I recently did a code review for an aspiring developer and instructed them to "get rid of the 'magic values' in their code."
-
The most common pattern I use when writing custom React hooks is to return a tuple of [state, handlers]. state is the value held by the hook, and handlers is an object with methods that update the state.
-
In college, I double majored in Philosophy and Mathematics.
-
I find Sets and set theory to be a fascinating concept, both in the abstract <Marker content="As a mathematical and philosophical concept." /> and in the concrete <Marker content="I enjoy using them in JavaScript" />, and one that I find more and more use…
-
As a JavaScript developer, we don't have an official Tuple data type like we do Array or Object, but that doesn't mean we don't have tuples in our code.
-
You want to conditionally call a hook, but you can't do that because of rules.
-
This one will be short and to the point.
-
React Context has always been a somewhat controversial tool.
-
We live in exciting times (for JavaScript developers).
-
import SocialPost from '../../..
-
This post will be short and sweet, yet it is my sincere hope that after reading this blog post, you will think about functions a little differently than you did before.
-
import FirstCounter from '.
-
import ChangeExample from '.
-
I've been struggling a lot lately with my inner self-talk.
-
Today, I want to share with you a coding pattern I frequently use when writing conditional JavaScript.
-
import Collatz from '.
-
import CommonButton from '.
-
One thing I have found challenging about React.useEffect is the mental model regarding the dependencies array.
-
import BlankGrid from '.
-
import { Profile, MemoizedProfile, Parent, ObjectParent, RefParent, OtherObjectParent, } from '.
-
import Adder from '.
-
import LocalCounter from '.
-
import LightBulbWithFuse from '.
-
import TogglingItem from '.
-
import HueLightBulb from '.
-
import LightBulb from '.
-
import LightBulb from '.
-
Table of Contents Intro What is a State Machine?
-
I'm not sure when I first learned about "cyclomatic complexity".
-
import BetterStyledTree from '.
-
I want to teach you something that's taken me a few years to learn and a lot of trial and error.
-
At the time of this post, it has been roughly seven and a half months since I released an episode of Second Career Devs.
-
import Log from '.
-
Update: In the time since writing this post, I have removed the search feature for my blog.
-
import DirectedGraph from '.
-
import SocialPost from '../../..
-
Some of you reading this know that I occasionally dust off the old microphone, fire up a text editor and make some educational material that I put on the interwebs.
-
Composition is the culmination of all the previous "Just Enough FP" blog posts.
-
Pointfree programming is a style of programming free of points.
-
In a previous post on currying, I used a filter function in a way that may have left you scratching your head.
-
I mentioned partial application several times in my previous post on currying with the promise of going in more detail about it in the future.
-
Currying is, by far, one of the coolest things I've learned in the last few years.