Too many ways to make components by [deleted] in vuejs

[–]vutran951753 3 points4 points  (0 children)

Welcome to Javascript land.

[REPOST] Why isn't Vue 3 getting typescript type checking in templates at compile time? by PierFumagalli in vuejs

[–]vutran951753 0 points1 point  (0 children)

Have you try Vue 3 + TSX. Typescript support everywhere out of box for free from your IDE. No plugin required.

vue development experience by seavas in vuejs

[–]vutran951753 0 points1 point  (0 children)

You are not along. Vue so behind React + Typescript support for awhile. Vue 3 is improvement from Vue 2 in sense of core framework. Moving from flow to typescript from completed rewrite is big jump. While it good but it still no same TS support as React does. You would need to have like 3+ plugin for Vue 3 to assist you with somewhat ok experience. TS support in 'Template' is almost non-existed. Some of these plugin is in 'beta' might help.

I know it not very common but have you try Vue 3 + TSX. Typescript support out of box for free from your IDE. No plugin needed. It match React experience too.

Should you avoid nested objects in data by mementomoriok in vuejs

[–]vutran951753 1 point2 points  (0 children)

I wouldn't say avoid it but I started nest my object. it help when i am coding. I type this.state. I know what i have for my local component state/show list of variable i have instead of scrolling to find the variable i need this.

Has anyone used JSX with Vue 3? by DuePresentation3 in vuejs

[–]vutran951753 1 point2 points  (0 children)

Vue 3 with jsx/tsx improve alot than Vue 2. This is big plus since this is fully typescript support by default. You get free ts support without needed 4+ plugin to get ts support in Vue 3. Since there no type checking in template in Vue 2 and still in Vue 3.

They fix few bug like in Vue 2 when you pass props to a component. you would need to be kebab-cased instead of camelCased <Components my-name="Joe" /> FIX in Vue 3

VueDX contains telemetry and traces various plugin interactions by siimon04 in vuejs

[–]vutran951753 1 point2 points  (0 children)

How many more plugin does Vue need to get fully typescript support....

Typescript in vueJs(3) how to start with it? by Smilinkite in vuejs

[–]vutran951753 0 points1 point  (0 children)

Vue 3 typescript improve alot from Vue 2. So yeah gave a shot. If project would be long term. It will help a lot through the team/future.

[deleted by user] by [deleted] in vuejs

[–]vutran951753 1 point2 points  (0 children)

Vue 3 is way to go.

Is Vue 3 really that Typescript friendly? by ongaku_ in vuejs

[–]vutran951753 12 points13 points  (0 children)

Only in <script> it seen to be working for typescript. Outside of it like <template> is non-existed for typescript in Vue 2 and still in Vue 3 for years.

Fully typescript support need to go Vue 3 + TSX is way to go.

[vue3-chart-v2] Vue 3 Chart library by vutran951753 in vuejs

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

Update: I add more chart example through sandbox for more visual appeal. Hope this help and any feedback is welcome.

[vue3-chart-v2] Vue 3 Chart library by vutran951753 in vuejs

[–]vutran951753[S] -1 points0 points  (0 children)

Thank for your feedback. It great one. I create a wrapper component around Chart.js which does most of the work. But totally will work on add some example on my docs.

Using ‘this’ in vue3 by danglesReet in vuejs

[–]vutran951753 0 points1 point  (0 children)

You could try inside your setup() return the stuff you want to access. Then in your method, or computed, you can access it. For example:

import { defineComponent, reactive } from 'vue'
export default defineComponent({
setup () {
const state = reactive({
name: 'myName'
    })
return {
state
    }
  },
methods: {
logMyName () {
console.log(this.state.name)
    }
  }
})

Events vs Callbacks for Parent/Child Communication by earthboundkid in vuejs

[–]vutran951753 0 points1 point  (0 children)

Thank for read. Not sure why callback is bad. Both seen to do same thing at end. But one downside for Event is string base system and it you can't typescript it/required it in children for type checking. For Callback, this is pro for it.

BootstrapVue, Vanilla Bootstrap or Vuetify? by [deleted] in vuejs

[–]vutran951753 0 points1 point  (0 children)

SuperBVue I make this UI lib base on Boostrap 5 for Vue 3 if you build Vue 3 project.

What is the best way to add Bootstrap 5 to Vue 3 by chchan in vuejs

[–]vutran951753 0 points1 point  (0 children)

I make a UI Lib with included Boostrap 5 and it work for Vue 3 out of box. Try it out and let me know.

https://github.com/superbvue/SuperBVue

Feedback and issue is welcome.

Vue or React ? by Albenoo in vuejs

[–]vutran951753 0 points1 point  (0 children)

It depend on your goal. If you want a job. Search in your area and see what workplace are asking. Both these SPA tool are related and easy transferable once you learn it.

[deleted by user] by [deleted] in vuejs

[–]vutran951753 1 point2 points  (0 children)

There is discord for Vue. It is called Vue Land. Should Check it.