←back to thread

Zod v4 Beta

(v4.zod.dev)
175 points mycroft_4221 | 1 comments | | HN request time: 0.202s | source
Show context
Rodeoclash ◴[] No.43668391[source]
We stuck with Yup and ignored Joi, Zod and god knows what else has come down the pipeline since. Rather than wasting time upgrading, we've instead built useful features.

That said, we are slowly phasing out our React frontend for one of our apps page by page and replacing it with what we use over the rest of apps: Phoenix + Liveview. The changeset system for validations has proven itself time and time again to both be fast but also to handle many of the curly validation problems we might have. It also has barely changed since its release.

If you have a disciplined frontend team then you might be able to make it work. They have to be able to ignore the latest shiny thing that has come along, but if you don't then you'll have a team that is busy constantly upgrading to the latest shiny library rather than getting anything done.

replies(4): >>43668752 #>>43670083 #>>43670124 #>>43670933 #
atonse ◴[] No.43668752[source]
We’ve been using LiveView for years now and I still really miss the ergonomics that you get with typescript.

A lot of that is going away with better LSP support and better LLM suggestions.

But elixir and LiveView are generally great (I LOVE ecto), but building component frameworks and component communication still feels a bit janky.

replies(3): >>43669178 #>>43670058 #>>43670939 #
1. user777777 ◴[] No.43670939[source]
That sad truth is the best apps with modern frontend quality are just flurry of bad code dirty typescript and react