Reading List
The most recent articles from a list of feeds I subscribe to.
Flare redesigned
Last week, we launched a redesigned for Flare, our Laravel error tracker.
I contributed to the app UI, but most of the work was done by Digital With You, who provided us with the design, and the team that implemented it: Alex, Freek, Rias, Ruben, and Sam.
Check it out for yourself! Or read our launch post for all the nitty gritty details.
Standards
Standards are useful, but after a while they represent the beliefs of the past, not the needs of the future.
A good quote from Mathias Verraes on standards.
HTML button form attribute
Thanks to my colleague Sam I recently learned about the form attribute on the <button> element.
By setting a form attribute, the button becomes a submit button for a form on the page with that ID, without having to nest the button on the page.
This could be useful for a logout link, used on different places.
<nav>
<!-- … -->
<button type="submit" form="logout">
Log out
</button>
</nav>
<footer>
<!-- … -->
<button type="submit" form="logout">
Log out
</button>
</footer>
<form id="logout" method="POST" action="/logout">
</form>
The grug brained developer
If you’re going to read one thing today, make it this. So much good stuff in here I could quote just any paragraph.
complexity is spirit demon that enter codebase through well-meaning but ultimately very clubbable non grug-brain developers and project managers who not fear complexity spirit demon or even know about sometime […]
grug no able see complexity demon, but grug sense presence in code base
How the Svelte team uses TypeScript with JSDoc
Rich Harris & the rest of the Svelte team have previously mentioned that they use TypeScript with JSDoc instead of .ts files. That gives TypeScript’s safety benefits during development and on CI, without an additional build step.
There are a few nuances to this, Pascal Schilp did a great job reviewing the background and benefits behind this decision.