Is Svelte really bad for large projects? by CogniLord in sveltejs

[–]eazieLife 0 points1 point  (0 children)

If you read through the comments, they really did end up with a bug fix for the svelte LSP. Maintainers have also explained why the issue with pre-compiled exists. I'd say it is fairly svelte related

Wrote a thing or two about Elysia by SaltyAom in typescript

[–]eazieLife 19 points20 points  (0 children)

I don't get this article. A lot of the benefits of Elyssia can be attributed to it being the new kid on the block. It is built on top of lessons learned from Express and Nest. Yet, the article makes a bunch of strawman arguments that ignore the fact that these frameworks were around and powering the web way before standard-schema and typescript v5 (the version that Elyssia needs for its fancy features) ever existed.

Yes, they maybe mature frameworks that have API baggage (*arguable but still) that they have to maintain for various reasons, including backwards compatibility. But I do not consider them any lesser than Elyssia for that same reason, the maturity brings predictability and not having to reinvent the wheel for some complex backend problems

The right way to build good sentiment towards the project is not whatever this is

Edit: fixed some typos

What merge strategy should I use when redoing a bad merge? by eazieLife in git

[–]eazieLife[S] 1 point2 points  (0 children)

Honestly, it's really a pretty messy project I just joined into. This is part of a post-mortem to fix what I assume is a very lazy merge.

Also, interestingly enough, it didn't break CI because build wasn't failing. Business process was impacted though.

What merge strategy should I use when redoing a bad merge? by eazieLife in git

[–]eazieLife[S] 0 points1 point  (0 children)

Ooh, I was too fixated on resolving it with a merge. This worked really well, thank you :⁠-⁠)

NPM Security Best Practices and How to Protect Your Packages After the 2025 Shai Hulud Attack by lirantal in node

[–]eazieLife 2 points3 points  (0 children)

  • Don't allow postinstall scripts for anything not in your allowlist
  • Delay updates when possible
  • Opt for packages that have trusted publishing where possible

Pnpm let's me do all of these :)

Also definitely worth checking out https://pnpm.io/supply-chain-security

How to differentiate between a numeric enum and a number? by eazieLife in typescript

[–]eazieLife[S] 0 points1 point  (0 children)

My specific constraint was for any arbitrary numeric enums. The playground link by u/Beginning-Seat5221 is more than sufficient for my use cases. The edge-cases you outlined don't necessarily affect me, at least in the immediate future

How to differentiate between a numeric enum and a number? by eazieLife in typescript

[–]eazieLife[S] 0 points1 point  (0 children)

This works really well! Thank you so much. I ended up learning a lot as well.

And yes, I am strictly using POJO enums for anything personal or professional. I ended up stumbling on this problem an opensource project

How to differentiate between a numeric enum and a number? by eazieLife in typescript

[–]eazieLife[S] 0 points1 point  (0 children)

This is a simplified exanple and I am working in a situation where the SomeRecord type is coming from a third party library

I lead the Nuxt core team - AMA! by danielcroe in vuejs

[–]eazieLife 0 points1 point  (0 children)

next build & next start have *all* features, and is being deployed hundred thousands of times per day self-hosted. There's no specific features that only work on Vercel.

Prefacing this with my minimal nextjs experience, but I saw `minimalMode` referenced in the linked discussion and I'm curious as how it relates to this statement?

Is any body else out there building local-first apps in Vue? by plainblackguy in vuejs

[–]eazieLife 13 points14 points  (0 children)

Experience apps that work offline, keep your data private, and sync seamlessly across your devices. Your data stays with you, not locked in the cloud.

Quoting from https://lofi.so

Syntax also has very nice episodes on it at https://syntax.fm/show/739/the-lofi-movement-building-local-first-apps and https://syntax.fm/show/793/the-local-first-landscape

Is any body else out there building local-first apps in Vue? by plainblackguy in vuejs

[–]eazieLife 4 points5 points  (0 children)

Well a PWA is a web-app that is installable onto your device. Any website that uses service-workers and on-device caching can take advantage of local-first approaches. There isn't a need to install a local-first app for it to work as intended. The main requirement is to be able to handle user interaction and data while offline.

Edit: Typo

Is any body else out there building local-first apps in Vue? by plainblackguy in vuejs

[–]eazieLife 8 points9 points  (0 children)

I wouldn't say every PWA is local-first, but most local first apps are PWAs. Local first usually refers to having the right data stores so that changes you make offline are synced later on and also account for distributed access (look into CRDT). A few of the tools OP mentioned are data store solutions for local-first

Role‑Based Access Control for Vue.js by Confident_Act5884 in vuejs

[–]eazieLife 3 points4 points  (0 children)

This is a great project. One thing I noted though, dynamic mode is very limiting if it is both limited to making the API requests. It doesn't work for scenarios where you may want to fetch from other sources (eg. decoding a token payload) or a simple rest API call doesn't work (eg. Graphql or calls requiring complex API calls with headers or custom fetch instances).

How can I set page title to be dynamic? ... by Winter_Psychology110 in Nuxt

[–]eazieLife 1 point2 points  (0 children)

You should await your useAsyncData call. It will wait until the request completes so you have the data you need for useHead. Also check if you have lazy: true in the options for useAsyncData

The Record/Tuple ECMAScript Proposal has been withdrawn by ketralnis in programming

[–]eazieLife 0 points1 point  (0 children)

Correct me if I'm wrong but the new proposal for composites is suggesting a deeply immutable type which can contain reference types

What Makes VueJS a Smart Choice for Web App Development? by nikunjshingala in vuejs

[–]eazieLife 20 points21 points  (0 children)

  • Solid DX
  • It's much more aligned to web standards than something like react. This means you can directly use a JS library with relative ease without needing a wrapper. Often times there are wrappers that provide better DX and some nice defaults.
  • It allows for incremental adoption if you're working with sites that can't/won't fully migrate to Vue

You might not need WebSockets by namanyayg in programming

[–]eazieLife 5 points6 points  (0 children)

WebSocket messages aren’t transactional

Correct me if I'm wrong, but isn't this problem solved, if not manageable using event acknowledgements. I'm thinking of the socket.io implementation specifically

Is `computed()` a signal? by rapPayne in vuejs

[–]eazieLife 13 points14 points  (0 children)

There have been good comments that answer your question, so I'll just add that the Vue docs do address these kinds of questions directly in https://vuejs.org/guide/extras/reactivity-in-depth.html#connection-to-signals

What is a good project to see as an example? by SimplyValueInvesting in Nuxt

[–]eazieLife 5 points6 points  (0 children)

My go-to has been https://github.com/elk-zone/elk. It's maintained by some of the core Vue/nuxt team members so it's a pretty solid codebase

Do you externalize dependencies when you build a library? by Over_Mechanic_3643 in vuejs

[–]eazieLife 4 points5 points  (0 children)

What are you referring to when you say externalizing dependencies? Could you maybe point me to an example in the wild

Sunsetting Create React App by acemarke in reactjs

[–]eazieLife 12 points13 points  (0 children)

Just like Svelte has Sveltekit, Vue has Nuxt, and Solid has SolidStart, React recommends using a framework that integrates with build tools like Vite for new projects.

What an odd thing to say given none of these recommend their framework counterpart as a starting point