TWIL December 12th 2025
- Having a two person team is challenging when one of you is out and the other is blocked by PR review
- You can't read Rails' encrypted cookies in a test (at least by default)
- Since the test cookie object doesn't implement
encrypted
- Since the test cookie object doesn't implement
- Someone once decided to make a 'Link' component which can be a button, link or just plain text
- but the button can have a
toattribute - the text can have an
onClickwhich can navigate, effectively making it back into a link - something intended to be an actual
atag can become a button because you passed ononClickprop
- but the button can have a
- So in summary sometimes you can DRY things way too much
- Especially when
a,button&spanare already native elements
Links
- Controlling dialogs and popovers with the Invoker Commands API - Audrey Sambor
More functionality you don't need JS for is always nice, the best code is the code you don't write (because browser devs much smarter than you already did).
An AI takedown but from a scifi writer, which is a fresh perspective.