Már Örlygsson :nerd:

100 Followers
72 Following
160 Posts
More geeky. English only. — he/they
Icelandic: https://lodfill.is/@maranomynet
...
Former life: https://twitter.com/maranomynet_en

Raw version of the side-scroll prevention script:

```js
if (
navigator.userAgent.indexOf('Chrome') < 0 &&
navigator.userAgent.indexOf('Safari') > 0
) {
document.addEventListener('scroll', function () {
if (document.documentElement.scrollLeft > 0) { document.documentElement.scrollLeft = 0;
}
});
}
```

I wish TypeScript did expose it's version as a string type.

It would make it easier to reason about TS's behavior inside various coding playgrounds/sandboxes, such as the ones on https://type-level-typescript.com

Something like:

Type-Level TypeScript

An online course to become a TypeScript expert. Discover the most advanced features of the type system while solving fun challenges!

Type-Level TypeScript
TS Playground - An online editor for exploring TypeScript and JavaScript

The Playground lets you write TypeScript or JavaScript online in a safe and sharable way.

I *hate* that we still have to perform these manual checks before using Remix routing `<Link/>` component.
TIL: In VSCode, when searching your project for files with Cmd+P, you can disable the default fuzzy match by wrapping your search query in quotes.
This is extra helpful in larger projects.
TS Playground - An online editor for exploring TypeScript and JavaScript

The Playground lets you write TypeScript or JavaScript online in a safe and sharable way.