JavaScript, Leathercrafting, Bonsai, ¯\_(ツ)_/¯
Starting a new life here after 16 years on Twitter.
| GitHub | https://github.com/gwer |
JavaScript, Leathercrafting, Bonsai, ¯\_(ツ)_/¯
Starting a new life here after 16 years on Twitter.
| GitHub | https://github.com/gwer |
RE: https://mastodon.social/@webholt/115781212731423490
OctoDeck is offline-ready now.
Open it once, and you can open it again even without an internet connection.
As usual, trying to make a good tool compatible with a popular tool leads to awkward situations.
How do you subscribe to the input `change` event in React? As a reminder, onChange subscribes to the `input` event.
Needed to listen separately to the input and change events on the inputs in Preact. Everything worked perfectly.
Imported useSyncExternalStore from preact/compat. Now onChange subscribes to the input event.
Yes, it's described in the documentation. But how weird it is...
Made a tiny presentation engine with Bun and Preact.
It's absolutely secure. Your slides are not stored anywhere. Not on servers, not in files.
If you find any bugs (and there are some), send a PR.
Decided to try designing shoe patterns using the British method instead of the Italian one.
Damn imperial measurements! I fucking hate inches!
The CSS Anchor Positioning Module is exactly what we've been needing.
How long do you think we'll have to wait until we can use it widely?
And it's worth keeping in mind that it's quite useless without the support of the anchor-scope property, which for some reason almost no one talks about.
When I was making my previous sneakers, I experimented with a soft heel counter and found it incredibly convenient for quickly putting them on and taking them off.
I thought I'd invented something brilliant, but then I discovered Gucci uses this same solution in their loafers.