Torleif Berger

Results 62 comments of Torleif Berger

Sorry, this can be closed as Endomondo no longer exists. I moved over to Strava, which I don't like as much, but at least it's not dead, and it supported...

Example of why the current types are annoying: ![image](https://user-images.githubusercontent.com/142162/90139507-c4746d80-dd78-11ea-828a-c99948bc377b.png) Here, there's no reason why `value` should be `undefined`, since I provide the hook with an `initualValue` that is guaranteed to...

@gongjoonamu If you find yourself sprinkling many of those non-null assertions, if you haven't already done similar, here's a temporary "workaround" to keep the #ugliness is one place. So when...

Added another commit now, which replaces the current `useSessionStorage` with a copy of `useLocalStorage` (with storage replaced) because of the following: * It had the same typing issue as `useLocalStorage`...

Realized I had another PR with a fix related to `useLocalStorage` too (#1448), so decided to move that commit here and apply the fix for `useSessionStorage` as well. I also...

> Looks like this MR also will fix the return type of `useSessionStorage`? > > Currently it is returning `[T, (value: T) => void]`, and I am running into the...

Noticed some merge-conflicts had popped up here since last time, so I have rebased and fixed them all now.

@coreyward Being able to crop the images, with selected focus points and such, is part of the "point" with sanity images though. It should be a proper and stable way...

Maybe this could just be solved with an option passed to the `.url()`? Like `z.string().url({ protocolOption: true })`? Best is probably just to handle it via `pipe` though, as I...