Hacker News
- Cache headers could probably be more aggressive https://www.macarthur.me/posts/more-aggressive-cache-headers 51 comments
- There are a lot of ways to break up long tasks in JavaScript. https://macarthur.me/posts/long-tasks 18 comments webdev
- We'll soon be able to slide open a `height: auto` box with native CSS. https://macarthur.me/posts/modern-box-sliding 22 comments frontend
- I didn't know you could compose template literal types in TypeScript. https://macarthur.me/posts/template-literal-types 22 comments typescript
- Using Forced Reflows, the Event Loop, and the Repaint Cycle to Slide Open a Box with JavaScript & CSS Transitions https://macarthur.me/posts/box 3 comments webdev
- Using Forced Reflows, the Event Loop, and the Repaint Cycle to Slide Open a Box https://macarthur.me/posts/box 6 comments javascript
- Make dangerouslySetInnerHTML Safer by Disabling Inline Event Handlers https://macarthur.me/posts/safer-dangerouslysetinnerhtml/ 9 comments reactjs
- I didn't know you could use sibling parameters as default values. https://macarthur.me/posts/sibling-parameters/ 47 comments javascript
- Transform Image URLs with a Simple Cloudflare Worker https://macarthur.me/posts/transform-images 2 comments webdev
- There Are a Lot of Ways to Hide Stuff in the Browser https://macarthur.me/posts/hide-stuff-in-the-browser/ 5 comments webdev
- Executing Dangerously Injected Scripts Inside React Components https://macarthur.me/posts/script-tags-in-react 3 comments javascript
- Building a Two-Way Data Binding Hook for Form Inputs in React https://macarthur.me/posts/binding-input-state-in-react/ 3 comments reactjs
- Why I Like Using Maps (and WeakMaps) for Handling DOM Nodes https://www.macarthur.me/posts/maps-for-dom-nodes 2 comments frontend
- Why I Like Using Maps (and WeakMaps) for Handling DOM Nodes https://macarthur.me/posts/maps-for-dom-nodes/ 52 comments javascript
- Tools for Maneuvering JavaScript's Event Loop https://macarthur.me/posts/navigating-the-event-loop 2 comments webdev
- Use a MutationObserver to Handle DOM Nodes that Don’t Exist Yet https://www.macarthur.me/posts/use-mutation-observer-to-handle-nodes-that-dont-exist-yet 12 comments javascript
- You’ve Got Options for Removing Event Listeners https://macarthur.me/posts/options-for-removing-event-listeners 32 comments javascript
- Use the .matches() Method to Determine if a Selector Matches an Element https://macarthur.me/posts/ways-to-check-if-element-matches-selector 23 comments javascript
- What I Like About Astro https://www.macarthur.me/posts/what-i-like-about-astro 2 comments javascript
- How to Lazy Load Disqus for Improved Site Performance https://macarthur.me/posts/lazy-load-disqus 7 comments javascript
- Keep Using Disqus if You Don’t Care About SEO, Performance, and User Privacy https://macarthur.me/posts/keep-using-disqus-if-you-dont-care 3 comments javascript
- Keep Using Disqus if You Don’t Care About SEO, Performance, and User Privacy https://macarthur.me/posts/keep-using-disqus-if-you-dont-care 5 comments webdev
- When I Actually Needed useLayoutEffect() in React https://macarthur.me/posts/when-i-needed-uselayouteffect-in-react 2 comments javascript
- Serving Notion Presigned Images with Cloudflare Workers https://macarthur.me/posts/serving-notion-presigned-images-with-cloudflare 3 comments javascript
- I’ve Boarded the SSG Train Again https://macarthur.me/posts/boarded-the-ssg-train-again 2 comments webdev
- Reminding Myself that Maps Store Objects by Reference Too https://macarthur.me/posts/maps-store-objects-by-reference 4 comments javascript
- Why I've Had No Regrets Moving from Google Analytics to Plausible https://macarthur.me/posts/moving-from-google-analytics-to-plausible 2 comments webdev
- Programmatically Create a Static Page in WordPress https://macarthur.me/posts/creating-static-page-in-wordpress 2 comments wordpress
- I wrote about conditionally rendering ERB templates with Action View and ViewComponent. https://macarthur.me/posts/conditionally-rendering-templates-in-rails 2 comments rails
- I'm using Vercel's Incremental Static Regeneration to statically render hourly-updated page views on my blog posts. https://macarthur.me/posts 6 comments webdev
- When a JavaScript Map() Object Actually Came in Handy https://macarthur.me/posts/when-a-map-came-in-handy 27 comments javascript
- I made a custom WordPress plugin update server with a serverless function. https://macarthur.me/posts/serverless-wordpress-plugin-update-server 8 comments wordpress
- Here's a little script for expanding HTML text into individual nodes for each character. https://macarthur.me/r/expand-text-nodes 4 comments javascript
- I made a <500 byte JS library for sliding elements w/ dynamic heights open and closed. https://macarthur.me/r/slide-element 15 comments webdev
- The Time I (Sorta) Had a Real Use Case for a Bitwise Operator in JavaScript https://macarthur.me/posts/use-case-for-bitwise-operator-in-javascript 59 comments javascript
- Why I Like Tailwind CSS (And a Couple of Challenges I've Seen Too) https://macarthur.me/posts/why-i-like-tailwind-css 41 comments webdev
- For the Sake of Your Event Listeners, Use Web Workers https://macarthur.me/posts/use-web-workers-for-your-event-listeners 23 comments javascript
- Should We All Start Implementing Differential Serving? https://macarthur.me/posts/should-we-implement-differential-serving 17 comments javascript
- Creating a .map() Method for Objects, Strings, Sets, and Maps https://macarthur.me/posts/creating-a-map-method-for-objects-strings-sets-and-maps 20 comments javascript
- Let's Stop Making it Cool to Hate jQuery https://macarthur.me/posts/lets-stop-making-it-cool-to-hate-jquery 43 comments webdev