Creează un cont pentru a te abona la acest blog și a-i urmări articolele pe pagina Lectură.
-
Handling async React component effects after unmount
Have you ever gotten this warning while developing React components?
-
Use cases for TypeScript const assertions
Have you ever run into a problem where TypeScript incorrectly infers the types of properties of an object?
-
When to use TypeScript unknown vs any
I try to be as strict as possible when I use TypeScript.
-
Object & array dependencies in the React useEffect Hook
Happy 2021!
-
Conditional React Hooks
Hooks launched in React with [v16.8](https://reactjs.org/blog/2019/02/06/react-v16.8.0.html) nearly 2 years ago, enabling us to use state and other React features without writing a class.
-
Quick way to sort a JavaScript array by multiple fields
-
10 modern JavaScript features to be awesome at React
One of my favorite sayings about React is that it's "Just JavaScript™."
-
Quickie fetch JSON helper for TypeScript
-
Filtering undefined elements from an array in TypeScript
-
Type-checking React useReducer in TypeScript
The biggest benefit I've found with TypeScript is type-checking functions.
-
Generic React Components in TypeScript
Two weeks ago I wrote about [Conditional React prop types with TypeScript](/blog/conditional-react-props-typescript/).
-
Polymorphic React Components in TypeScript
Last week I wrote a post about [conditional React prop types with TypeScript](/blog/conditional-react-props-typescript/) that generated a lot of [discussion on Twitter](https://twitter.com/benmvp/status/1323415760220299264).
-
Conditional React props with TypeScript
-
Easily kill a process running on a port
-
Helper functions in the React useEffect hook
The [`useEffect` hook](https://reactjs.org/docs/hooks-reference.html#useeffect) in React by default runs on every re-render: ```js {4-6} const Example = () => { const [count, setCount] = useState(0) useEffect(() => { document.title = `You clicked ${count}…
-
Four characters can optimize your React component
So… yeah the title is kinda clickbait-y, but it’s kinda true.
-
Configurability in a Design System
A few months ago I wrote a post called [What exactly is a "Design System"?]
-
Mocking window.location methods in Jest & jsdom
-
A quick trick for Jest asynchronous tests
-
Asynchronous testing with Enzyme & React in Jest
Back in April I wrote a blog post about how I would [choose React Testing Library over Enzyme](/blog/react-testing-library-over-enzyme/).
-
The best way to learn React
-
React Prop Types with TypeScript
-
Integrating Bugsnag into GatsbyJS and Netlify
-
ECMAScript pattern matching proposal
-
The Popoff Progression
As a new bootcamp or college graduate, your first job can be really critical in determining the trajectory of your career.
-
Introducing Minishops
If you haven't realized yet, I enjoy teaching.
-
What exactly is a "Design System"?
-
New Gatsby site!
-
Nested string interpolation in JavaScript
-
Capture DOM element screenshots in Chrome
-
Check out react-jsonschema-form
-
React Testing Library over Enzyme
-
New React useOpaqueIdentifier hook coming soon
-
I'm a Google Developer Expert!
-
MVP! MVP! MVP!
-
New Gatsby Blog!
-
12 tricks for ES6 fun
-
Speaking at NodeSummit 2016
-
Front Porch Austin 2016
-
NDC Oslo 2016
-
NationJS Node Day 2016
-
Generators as iterators
-
Iterators & iterables
-
New collections
-
Classes
-
for-of loop
-
Nodevember 2015
-
Little Rock Tech Fest 2015
-
Promises
Like clockwork the [_Learning ES6_ series](/learning-es6-series/) continues on, looking at _promises_.
-
Template literals & tagged templates