← Înapoi la Urmăritori

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 111
  1. Handling async React component effects after unmount

    Have you ever gotten this warning while developing React components?

  2. Use cases for TypeScript const assertions

    Have you ever run into a problem where TypeScript incorrectly infers the types of properties of an object?

  3. When to use TypeScript unknown vs any

    I try to be as strict as possible when I use TypeScript.

  4. Object & array dependencies in the React useEffect Hook

    Happy 2021!

  5. 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.

  6. Quick way to sort a JavaScript array by multiple fields

  7. 10 modern JavaScript features to be awesome at React

    One of my favorite sayings about React is that it's "Just JavaScript™."

  8. Quickie fetch JSON helper for TypeScript

  9. Filtering undefined elements from an array in TypeScript

  10. Type-checking React useReducer in TypeScript

    The biggest benefit I've found with TypeScript is type-checking functions.

  11. Generic React Components in TypeScript

    Two weeks ago I wrote about [Conditional React prop types with TypeScript](/blog/conditional-react-props-typescript/).

  12. 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).

  13. Conditional React props with TypeScript

  14. Easily kill a process running on a port

  15. 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}…

  16. Four characters can optimize your React component

    So… yeah the title is kinda clickbait-y, but it’s kinda true.

  17. Configurability in a Design System

    A few months ago I wrote a post called [What exactly is a "Design System"?]

  18. Mocking window.location methods in Jest & jsdom

  19. A quick trick for Jest asynchronous tests

  20. 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/).

  21. The best way to learn React

  22. React Prop Types with TypeScript

  23. Integrating Bugsnag into GatsbyJS and Netlify

  24. ECMAScript pattern matching proposal

  25. The Popoff Progression

    As a new bootcamp or college graduate, your first job can be really critical in determining the trajectory of your career.

  26. Introducing Minishops

    If you haven't realized yet, I enjoy teaching.

  27. What exactly is a "Design System"?

  28. New Gatsby site!

  29. Nested string interpolation in JavaScript

  30. Capture DOM element screenshots in Chrome

  31. Check out react-jsonschema-form

  32. React Testing Library over Enzyme

  33. New React useOpaqueIdentifier hook coming soon

  34. I'm a Google Developer Expert!

  35. MVP! MVP! MVP!

  36. New Gatsby Blog!

  37. 12 tricks for ES6 fun

  38. Speaking at NodeSummit 2016

  39. Front Porch Austin 2016

  40. NDC Oslo 2016

  41. NationJS Node Day 2016

  42. Generators as iterators

  43. Iterators & iterables

  44. New collections

  45. Classes

  46. for-of loop

  47. Nodevember 2015

  48. Little Rock Tech Fest 2015

  49. Promises

    Like clockwork the [_Learning ES6_ series](/learning-es6-series/) continues on, looking at _promises_.

  50. Template literals & tagged templates