Typing attrs. defineAttrs() I know Volar partially solves this problem. But we need the ability to manually specify types
@andreyseluykov4641
2 күн бұрын
Yes, Volar does not do much with thast problem at all.
@ivan.jeremic
Күн бұрын
fn -> jsx FTW
@mathiasokafor7318
Күн бұрын
i was definitely waiting for suspense because i keep seeing that suspense is an experimental feature
@naranyala_dev
Күн бұрын
there are features that are used all the time, and there are those that are very rarely used, but very useful
@gro967
Күн бұрын
Default TypeScript is definitely needed! There is no reason to not use TypeScript in 2024 and native and default TS would be awesome.
@najlepszyinformatyk1661
Күн бұрын
the problem with lack of types for DOM events sucks. I was surprised as a React dev that Vue does not come with it
@solomanter
2 күн бұрын
Very Helpful, Thanks!
@NathanChase
2 күн бұрын
I'm looking forward to Vue no longer needing and to add 'data-v-*' attributes everywhere to make scoped CSS work and just using native @scope instead. Looks like Firefox is the only holdout browser at this point.
@TheAlexLichter
Күн бұрын
Oh yes, 100% - native scoped CSS will be fun to have! Didn’t include it bc Evan mentioned it in the podcast and it only depends on browser support
@TheDeluxeman
Күн бұрын
Great video, as always.
@VELIXYZ
2 күн бұрын
Interesting list!
@ojoaoprocopio
2 күн бұрын
when you create a sfc that has a root polymorphic component, you can't deal with the polymorphic props, you just looses all of the native types
@austincodes
23 сағат бұрын
My top missing feature is more than 1 component per file
@TheAlexLichter
20 сағат бұрын
You can with render functions - or with Vue vine! vue-vine.dev/
@alanscodelog
Күн бұрын
Make it easier to create properly typed component wrappers. The types situation with these are horrible. Makes it a complete pain to write component libraries.
@PabloRodriguez-su4gp
Күн бұрын
I hope you don't get you wish regarding typescript by default :P
@RaphaelDDL
2 күн бұрын
So “missing vue features” is not really vue missing features at all, is just troublescript whining 😅 A Vue feature would be “oh, we need a new v-something for this and that”, while “It needs to support my obnoxious verbose fake JS shenanigans” shouldn’t be a “missing vue feature” tbh. 😂
@heregundir8292
Күн бұрын
18 minutes 💀
@TheAlexLichter
Күн бұрын
v-model for dialog/details doesn’t count then I suppose? And conditional props aren’t a TS only feature necessarily and should have a runtime equivalent. 🫡
@TheAlexLichter
Күн бұрын
@heregundir8292 chaptermarks if you want to skip parts ☺️
@ivan.jeremic
Күн бұрын
learn to code kid
@masterflitzer
Күн бұрын
you have to be another kind of moron to call typescript troublescript or bad or anything, yes it's not like full static typing, but it's the closest we have and dynamic typing is a nightmare as soon as your app has some kind of scale
@nade3282
2 күн бұрын
first problem is solved with generic
@victorh5
2 күн бұрын
Can you share an example of that?
@TheAlexLichter
Күн бұрын
I’d be curious too! For some use cases it might be but not all
@nade3282
Күн бұрын
@@victorh5 my comment is being deleted(
@TheAlexLichter
Күн бұрын
Try without a link. KZitem blocks them automatically I’m afraid. Or send me a discord message then I can post it
@nade3282
Күн бұрын
@@victorh5 type DefineType = T extends string ? never : string type Props = | { one: T; other?: DefineType } | { one?: DefineType; other: T } defineProps()
Пікірлер: 31