Echo JS 0.11.0

<~>

tracker1 comments

tracker1 309 days ago. link 1 point
I just can't get past the type mismatch for useState with an array...

    const temperatureStatePair = useState(23);
    const temperature = temperatureState[0];
    const setTemp = temperatureState[1];

23 is not an array.
tracker1 313 days ago. link 1 point
Cool.. note that the demos seem to bee in the 250-500kb range.
tracker1 313 days ago. link 1 point
Seems cool.. the main script alone is 480kb though, which is concerning.
tracker1 315 days ago. link 1 point
Drizzle Drizzle...  Totally OT, but can't look at this library without thinking about the "soft guy era" trend.
tracker1 317 days ago. link 1 point
That's understandable... I actually kind of appreciated the use of HTTP(S) references for code with Deno.. though a repository is nice enough.  The x.deno.land worked, but JSR is definitely a better longer term solution, and really happy to see decent npm support.

Thinking about a minor rewrite of a couple modules this weekend to be JSR first, adding enough for an npm publish to remain working.
tracker1 322 days ago. link 1 point
I like a lot of what JSR offers, I do hope that it sees a fair amount of uptick.  I've been using Deno a lot more than Node lately, mostly in that it's better for shell scripting with a shebang and direct imports compared to package.json and node_modules etc.

I'd like to see a few things get refactored to work better over time, but who knows.
tracker1 322 days ago. link 1 point
As much as I dislike Windows, and even in Windows will prefer WSL... Windows development is still a thing and I try to be friendly to Windows developers as much as reasonable.

That's why Concurrently exists even if there's Bash on Mac, Linux, BSD, etc.
tracker1 322 days ago. link 2 points
Feels a bit hyperbolic and don't strictly agree with the sentiment.
tracker1 323 days ago. link 1 point
One could simply share the same userId for expanded 1:1 fields, the schema itself is 1 to many, even if usage is 1:1 lookup.
tracker1 327 days ago. link 1 point
I stopped at the second question, which is just weird, and beyond that, the second question will never end the loop.

I'm not sure if this was AI generated, or what, but it's just incomplete or weird to say the least.
[more]