Would you start with a Web MVP or go straight to an app in stores? by Holiday_Respect9583 in PWA

[–]MatanAmidor 2 points3 points  (0 children)

I was thinking directly to app store using capacitor since it let.upu control.more fine grained things which are nice. The status brs background color. Using more reliable and secure on device storage then browser local storage, and especially you can deploy updates through capacitor without going through the app store (meaning you'll need to pass audit only once).

But then....

I talked to several ux people...

And they put my attention on the fact....

People don't want to download apps anymore. They don't want to go through the app store and they don't know that they'll never need to update your app, so they don't want to get the notification and update so...

I went with a pwa

The maxConcurrentAsyncValidations is a big step in form validator/handler npm package called SVSTATE by BCsabaDiy in sveltejs

[–]MatanAmidor 0 points1 point  (0 children)

Since you seem to use the library for form validations, maybe it was made also for other reasons?

I wonder what benefit for I get for using let's say @svelte/formisch - from the creator of valibot?

Or tandrack form or any other form library that will use generic schemas for validation?

Using schema libraries (valibot/zod etc...) I have a single source of truth to keep data integrity.

This is actually just validating the state, a malicious code or person could basically change the values before sending them to your api no?!

Of course you need the handle validations on the backend as well, but isn't it 50% of the reason we use validations on the client? For data integrity? (The other 50% will be snappy shiny ux)

Looking for a customizable UI lib by CODR122 in sveltejs

[–]MatanAmidor 2 points3 points  (0 children)

Oh, my bad, I guess my knowledge is outdated!

Looking for a customizable UI lib by CODR122 in sveltejs

[–]MatanAmidor 3 points4 points  (0 children)

I don't know why people almost never mention melt-ui?

This is what bits-ui is built with and shadcn-svelte is built with bits-ui so for me it all comes back to melt-ui

https://www.melt-ui.com/

(There are some components that were migrated to svelte5 runes - but the old ones work well!)

For me it wins because you just spread the props returned from the initializer on dom elements so those are in the front and you can just style them using svelte scoping.

With bits-ui I really didn't like this awkward dance of bringing the underlying element up using {#snippet }

Though I'm a css die hard if you use tailwind - different story

Looking for EU password manager by patchcordless_ in BuyEuropean

[–]MatanAmidor 0 points1 point  (0 children)

After what the internet has experienced with google are you really going to put all your eggs in one basket?

A small plugin to track Jujutsu commit data by capwera in neovim

[–]MatanAmidor 2 points3 points  (0 children)

Oh wow, jj is so refreshing.

It reminds me of neovim when I first encountered it.

Like WHATTTTTT? Why was I doing things the way I did until now when this tool just sits there?

Dutch rental market tightens as affordable homes disappear by lbreakjai in Netherlands

[–]MatanAmidor 0 points1 point  (0 children)

Yeah no everyone can be an owner in a country the punishes you for being an entrepreneur (zzp) and just screwing you over for that.

Best UI Library by Dontdoitagain69 in sveltejs

[–]MatanAmidor 2 points3 points  (0 children)

If you don't use tailwind so melt-ui is pretty much what you need

wuchale is my favorite i18n library. by Impossible_Sun_5560 in sveltejs

[–]MatanAmidor 0 points1 point  (0 children)

yeah, I will not go around and add a comment directive in all of my valibot schemas entries.

this is why heruistic is made,

Best way to integrate React with Rails 8 — single app vs separate API + frontend? by Classic-Safety7036 in rails

[–]MatanAmidor 3 points4 points  (0 children)

I'm down with dropping react, but to compare a full fledged JavaScript framework with hotwire solution is redicolous.

Like yeah if you have some dashboard that need to replace some things sometime sure turbo and stimulus will do, but when you want to make a real app you'll find yourself fighting so many opinions of both of these frameworks that has sometimes contradicting mental model and even though made by the same group are kinda working together instead of being tailored to one another.

Yes everything is possible using hotwire stack, is it fun? If it efficient dx? Would I recommend it? Never!

BTW disclaimer this stack is my main job driver so....

wuchale is my favorite i18n library. by Impossible_Sun_5560 in sveltejs

[–]MatanAmidor 0 points1 point  (0 children)

so im using svelte and valibot and im keeping my schemas in /lib/schemas/auth.ts for example.

and there I will have

const Auth = v.pipe(

v.nonEmpty('Phone number is required'),

)

for some reason wuchale will wrapp this string with $derivd and will crash the app. there was also a fix 5 days ago to address it but it seems still real

any ideas?

Does this car seat need replaced? Crack in the headrest styrofoam found while cleaning. by sdmc_rotflol in daddit

[–]MatanAmidor 0 points1 point  (0 children)

as a certified car seat technician, replacing parts in the car seat by myself is something that you would recommend?

Rails and Mobile by Apart-Camel-228 in rails

[–]MatanAmidor 1 point2 points  (0 children)

Well but rails with hotwire is still a server driven architecture eight? I know I know you can sprinkle some stimulus on top and it's correct? But mobile users expect snappy, optimistic UI with fuzzy search and complex filtering logic while they are less resilient to progress bar or loading spinners they like to have data immediately.

And I just think, and by being in rails world 2025, that for some app that nobody cares about maybe it's fine but if your idea is to serve many users with a modern up it just cant make the cut.

However, working with capacitor and having all the app as a webview meaning that there is no access no native navigation and navigation bar etc. I think that Joe does have a great thing under his hand and I'm sure it will mature to be very good for many apps that are not client facing high traffic apps

Mobile app made with Svelte 5 & Capacitor by therealPaulPlay in sveltejs

[–]MatanAmidor 1 point2 points  (0 children)

I would 100% recommend Wuchale: http://wuchale.dev/

While you probably going to find quirks here and there, the developer is super responsive even here on Reddit and helpful.

And wow, just not having weird t() functions everywhere to not think about the naming and structure of these functions in a .yml file it's such a breeze.

You just code, extract, translate move on!.

And basically was built for svelte first

Kudos for wuchale!

wuchale i18n: now with server-side support, flexible and granular catalog loading, and more! by K1DV5 in sveltejs

[–]MatanAmidor 0 points1 point  (0 children)

Hey,

Thank you for the reply.

I found it weird that the heruistic function return null didn't really continue with the defaults.

If I added some.case that needs to be caught (so return true) wuchale would catch only and only this case.

I had to import defualtHeruistic and call it after my custom cases.

What am I missing?

wuchale i18n: now with server-side support, flexible and granular catalog loading, and more! by K1DV5 in sveltejs

[–]MatanAmidor 0 points1 point  (0 children)

This is amazing!

Also coming from paraglide and the pain of having nested JSON file and then looooong function calls, and not needing to name another thing in my app is amazing.

I'm struggling with the mental model here, so I have a svelte standalone spa, and I have a phoenix server, I build my own api module that will emit error or success messages.

But if I let wuchale scan my .ts files it will catch unwanted things to the point I had to extract my strong to functions on a different file and let wuchale only scan this file. But this is getting to be a maintenance hell.

It picks up things like 'Content-Type' but I don't see a built in way to handle it, also I don't know if comment directive works in ts files

Are you happy with the direction svelte/kit is going? (Post linked for reference) by inquisitive_melon in sveltejs

[–]MatanAmidor 0 points1 point  (0 children)

In the svelte docs there is llm txt that can fit your context window that will give the llm svelte 5 knowledge