4 ms·
I got a kick out of seemingly server-side browser blocking https://github.com/basecamp/once-campfire/blob/eecdb2933252746f9ccc35a53a636df95bed9c6d/app/controlle
by mdaniel 1y ago
I got a kick out of seemingly server-side browser blocking https://github.com/basecamp/once-campfire/blob/eecdb2933252746f9ccc35a53a636df95bed9c6d/app/controllers/concerns/allow_browser.rb#L7 https://github.com/basecamp/once-campfire/blob/eecdb29332527... without one iota of "but, why?"
- gls2ro 1y agoI dont know for sure why but could it be that they are using importmaps and so it needs some browser versions to support it out of the box. One the other hand there is an advantage to use importmaps removing the dependency on nodejs for FE assets thus making both DX and deployment a breeze.
- mdaniel 1y ago(a) reasonable guess, but it seems no, given https://caniuse.com/import-maps https://caniuse.com/import-maps cites FF 108(!) versus the forbidden 120 (b) ok, fine, then include any english anywhere (in the source code, in the incompatible_browser.html.erb, in CLAUDE.md, whatever) so future generations would have any sane reason to mutate those magic numbers