JZ JavaScript Corner (@JoeZimJS) header
JZ JavaScript Corner (@JoeZimJS) profile picture

Grab a seat and enjoy the JavaScript. https://xitter.gq/t.co/r9IherNoj6

Wisconsin, USA
Joined July 2011
Photo by JZ JavaScript Corner (@JoeZimJS)Photo by JZ JavaScript Corner (@JoeZimJS)Photo by JZ JavaScript Corner (@JoeZimJS)Photo by JZ JavaScript Corner (@JoeZimJS)Photo by JZ JavaScript Corner (@JoeZimJS)Photo by JZ JavaScript Corner (@JoeZimJS)Photo by JZ JavaScript Corner (@JoeZimJS)Photo by JZ JavaScript Corner (@JoeZimJS)Photo by JZ JavaScript Corner (@JoeZimJS)Photo by JZ JavaScript Corner (@JoeZimJS)
OK. Tell me if I'm wrong, but all my life you either said "what it looks like" or "how it looks"... but I see "how it looks like" all over the place in recent years. Is it just because I'm reading from a lot of English as second language people? Or is this now "correct"?
Just watched youtu.be/FGqTX7Mmn2w I already knew about branded types, but this makes things even better because you're already using `parse`to check the value's validity and now you can use it to enforce a type elsewhere too. So cool.
135
Come on man, you know it isn't actually released yet, so don't say it's here... you got my hopes up.
Nuxt 4 is here with big changes! 💡 From the removal of experimental features to directory index scanning, this video by @VueSchool_io breaks down what you need to know. 👉 Watch now: youtu.be/x2XY8Djj4es youtube.com/watch?v=0Nhlmeoh…
138
Sorry in advance to anyone who knows what I'm talking about: I lost The Game!
66
Happy New Year everyone!
78
This project (@nuxt_hub) makes integrating into Cloudflare too dang easy.
Introducing hubAI() ✨ Run machine learning models, such as LLMs in Nuxt, powered by @CloudflareDev Workers AI. hub.nuxt.com/changelog/hub-a…
3
195
Horrific
It’s OK. What you see will shock you. 🧡💙💜💛🩷
120
So, anyone saying "Nuxt/Next server components is like coming full circle back to PHP"... what kind of take is that? Are you saying that because we use templates to generate HTML/CSS on the server again? That's fair enough. But this is what I always wanted... 🧵
1
167
When I first started JS apps, I still wanted most of the markup generated on the server when it made sense (about 70% of the time it does)... but integrating JavaScript with HTML generated by PHP (or other) sucked. Even with Node, you didn't really gain much integration...
1
31
michaelnthiessen.com/control… @MichaelThiessen why wouldn't you just make `hidden` a "local" v-model?
1
101
I suppose your working demo shows that by not implementing a "onClick" handler, you can disable the normal click-title-to-expand entirely, but why would you do that? I guess this is just a contrived example to demonstrate a concept so it doesn't really matter
79
Replying to @mattpocockuk
@mattpocockuk Just read totaltypescript.com/as-never and I think there's a better alternative. Change the "formatter =..." line to `const formatter = formatters[inputType] as (val: typeof input) => string` It better declares what you're trying to do rather.
30
This is very intriguing. I'm working on a Cloudflare-hosted Nuxt app, so I'm very interested to see how this turns out and I'm looking forward to seeing the additional packages come out (email & analytics).
1
139
This is what I'm talking about! I can't wait to see more and try it out myself!
🌜 WebSocket support is live in the Nitro/Nuxt nightly channels! 📖 Nitro docs: nitro.unjs.io/guide/websocke… 🦴 Nuxt demo: github.com/pi0/nuxt-websocke… ⚡️ Deploy on cloudflare pages: nuxt-websocket.pages.dev/
1
115
I was wondering when this would get made.
This quoted post is unavailable.
1
122
I'm not using Astro, but don't consider that a knock against it. It has been knocking it out of the park and it is worth a look by anyone who hasn't given it a fair shake recently/yet.
10... 9... 8... 7...
180
Can you imagine people sitting there and saying the Ukrainian's should die as Ukrainian refugees sit and watch?
This quoted post is unavailable.
365
Replying to @topenddevs
@topenddevs The "Get Chuck's Resume" form always gives me an error... topenddevs.ac-page.com/get-c…
1
Replying to @MichaelThiessen
@MichaelThiessen Lesson 5-4 of Mastering Nuxt 3 has you using a `reduce` on the chapters and then you're building a new array by cloning the old one on every iteration with `return [...prev, chapter]`. Why didn't you just use a `map` like you did for the lessons?
23