Temperatures are up across our distributed KD offices, and so's our knowledge! Scroll on for new tips and tricks we've found useful in the latest TIL round-up from the KD team.
8 modern browser APIs you might not know, but really should:— Steve (Builder.io) (@Steve8708) February 14, 2023
From Stefan: A router outside of Rails: Rowdy. I find it very interesting as I don't like Roda too much, the Sinatra router is also not the greatest and this looks refreshing haha. I think it'd need some polish for me to use it on a small project, but it's pretty cool.
From Steve: Self-destructing StimulusJS controllers
From Stefan: I think I've never read this part of the documentation, but boy oh boy; shallow nesting in Rails. I'm going to use this a lot ha!
From Chris: I always forget about the sandbox.
Also, do you know about .irbrc?
From Chris: [An evergreen suggestion:] make contributions to Rails guides/docs
Did you know that macOS comes with a colour picker?— Pawel Grzybek (@pawelgrzybek) April 1, 2023
1. Open "Digital Colour Meter"
2. Hover over the colour of interest
3. Cmd + Shift + C to copy
Unfortunatelly only RGB, but sometimes it is more than enough. It was added 5 years ago to macOS Mojave 10.4 😜 pic.twitter.com/KGNZ5mjZrM