You publish a package. CI is green, the types look right, you ship it. Then a consumer installs it from npm, and TypeScript quietly resolves part of your public API … Continue reading “The dependency bugs that only surface for your users”
npm’s install-strategy=linked Is Getting Better — You Should Try It
npm has had an install-strategy=linked option since v9, but for the longest time it was marked experimental and, frankly, too buggy to use in anything serious. Even basic things like scoped packages … Continue reading “npm’s install-strategy=linked Is Getting Better — You Should Try It”
Why @wordpress/preferences is the Best-Kept Secret for Storing User Preferences in the Block Editor
If you’ve ever needed to store user preferences in the WordPress block editor, you’ve probably gone down the familiar path: create a custom REST API endpoint, handle the AJAX calls, … Continue reading “Why @wordpress/preferences is the Best-Kept Secret for Storing User Preferences in the Block Editor”
How to use the new composite GitHub Actions for reusability?
GitHub actions is the best thing that happened to CI/CD world recently. Its composite actions have been there for quite sometime now but with a very limited capability of running … Continue reading “How to use the new composite GitHub Actions for reusability?”
How we brought down GitHub Actions workflow execution time from 20 minutes to 5 minutes?
GitHub Actions has been around for a while now and it’s been a great experience so far, although there is plenty of room for improvement. When it comes to CI/CD, … Continue reading “How we brought down GitHub Actions workflow execution time from 20 minutes to 5 minutes?”
How to easily avoid re-renders in React Final Form?
When it comes to form solutions in React, we have a few choices. Different solutions solve different problems but there is one that stands out almost in every aspect. The … Continue reading “How to easily avoid re-renders in React Final Form?”