Skip to content
  • Home
  • Articles
  • Screencasts
  • Projects
  • About
  • Resources
  • Screencasts
  • Today I learned
  • Things I use
  • Talks
  • Newsletter
  • Home Home
  • Articles Articles
  • Screencasts Screencasts
  • Projects Projects
  • About About
  • Newsletter
  • Other Stuff
    • Blogroll People blogging great stuff.
    • Resources Bookmarks I want to keep for later.
    • Show some love Support my blog and newsletter.
    • Talks Talks I've given at conferences.
    • Things I use My hardware and software setup.
    • Today I learned 213 #TIL posts.
Stefan on Mastodon Stefan on Twitter RSS

Topic: React

  1. A userland React hook for managing global state

    Published Feb 18 2023 in React

    A snippet to share state across React components without a state management library but with a short useGlobalState hook.

  2. A React "if component"

    Published Jan 24 2021 in JavaScript , React

    A smart component to avoid ugly ternary operators in your React code.

  3. The downsides of React Hooks

    Published Sep 17 2020 in React

    An opinionated article explaining why React Hooks aren't that great after all.

More React content

  1. Previous page
  2. Page 1 of 1
  3. Next page

Most popular posts

  • A new method to validate URLs in JavaScript (2023 edition)
  • How to import JSON files in ES modules (Node.js)
  • APIs to generate random user avatars
  • Top-level await is available in Node.js modules
  • How to use headless Chrome in serverless functions with a 50MB limit
Read popular posts

Weekly newsletter

Weekly newsletter all around web development

Get weekly news

TIL: Today I learned in Web Dev

  • How to escape CSS selectors in JavaScript
  • Self-closing tags are mostly meaningless in HTML
  • How to use EventTarget as a web-native event emitter
Learn something new

Blogroll

15 random RSS feeds I'm subscribed to. 👇

Discover fantastic blogs

Other stuff

Topics

  • JavaScript (117 posts)
  • CSS (89 posts)
  • Tools (56 posts)
  • HTML (41 posts)
  • Bash (40 posts)
  • NodeJS (35 posts)
  • Accessibility (27 posts)
  • Web (22 posts)
  • git (20 posts)
  • Performance (19 posts)
  • macOS (15 posts)

Web Dev Learnings

  • The hr element is more than a horizontal line
  • IntersectionObserver accepts several threshold values
  • Automatic hyphenation depends on the defined document language
  • Array.from has a second argument
  • Finding git tags with the git describe command
  • Process substitution in bash

Popular articles

  • A new method to validate URLs in JavaScript (2023 edition)
  • How to import JSON files in ES modules (Node.js)
  • APIs to generate random user avatars

Recently updated resources

  • Timeless articles
  • Job hunt and interviewing
  • A Firefox-only minimap
© 2023 Copyright Stefan Judis. All rights reserved.
♥️