10/10 I've done it, works brilliantly. It's scalable, very focused, and no real 'catch' as the DX is quite nice with CustomEvent layered on top too.
10/10 I've done it, works brilliantly. It's scalable, very focused, and no real 'catch' as the DX is quite nice with CustomEvent layered on top too.
なので再レンダリングの代わりに親がupdateしたことを伝えるCustomEventをdispatchするようにしたらいいのではないかと思った
具体的にはこんな感じ
メリットとして全ての処理が1つのイベントの中に集約され、不要な再レンダリングが起きないようになる
なので再レンダリングの代わりに親がupdateしたことを伝えるCustomEventをdispatchするようにしたらいいのではないかと思った
具体的にはこんな感じ
メリットとして全ての処理が1つのイベントの中に集約され、不要な再レンダリングが起きないようになる
What is the correct way to emit an event from a child component in Vue 3 Composition API?
A) emitEvent('customEvent')
B) this.emit('customEvent')
C) emit('customEvent')
D) trigger('customEvent')
#TechQuiz #AI #Developer #VueJS
What is the correct way to emit an event from a child component in Vue 3 Composition API?
A) emitEvent('customEvent')
B) this.emit('customEvent')
C) emit('customEvent')
D) trigger('customEvent')
#TechQuiz #AI #Developer #VueJS
Interest | Match | Feed
Interest | Match | Feed
#Pride #Minecraft #MinecraftEvent #mc #CaptureTheFlag #PrideCaptureTheFlag #CustomEvent
#Pride #Minecraft #MinecraftEvent #mc #CaptureTheFlag #PrideCaptureTheFlag #CustomEvent
TL;DR: Subclass Event instead of using CustomEvent 😎
justinfagnani.com/2025/06/25/s...
TL;DR: Subclass Event instead of using CustomEvent 😎
justinfagnani.com/2025/06/25/s...
1. I think CustomEvent tends to be the most common and is still a viable option
2. Teams may want to switch to subclassing, but may not be in a position to introduce breaking changes, but can update the types
1. I think CustomEvent tends to be the most common and is still a viable option
2. Teams may want to switch to subclassing, but may not be in a position to introduce breaking changes, but can update the types
#Pride365 #MoreThanAGame #LGBT #LGBTQIA+ #Autism #AutismCommunity #AutismServer #mc #minecraft #minecraftEvent #minecraftResourcePack #CustomEvent #showcase
www.youtube.com/shorts/cZBkq...
#Pride365 #MoreThanAGame #LGBT #LGBTQIA+ #Autism #AutismCommunity #AutismServer #mc #minecraft #minecraftEvent #minecraftResourcePack #CustomEvent #showcase
www.youtube.com/shorts/cZBkq...
CustomEventで引数が使えるようになり
CyanTriggerが壊れた
CustomEventで引数が使えるようになり
CyanTriggerが壊れた
| Details | Interest | Feed |
CustomEvent is *criminally* under-utilized
developer.mozilla.org/en-US/docs/W...
CustomEvent is *criminally* under-utilized
developer.mozilla.org/en-US/docs/W...
Shoelace prefers custom events: CustomEvent('sl-open')
Other libs typically emits normal evs: Event('open')
Shoelace prefers custom events: CustomEvent('sl-open')
Other libs typically emits normal evs: Event('open')
#Msdyn365bc #CustomEvent #BCALHelp #ALHelp #BusinessCentral #IntegrationEvent #BusinessEvent #ALCode #IsHandled
#Msdyn365bc #CustomEvent #BCALHelp #ALHelp #BusinessCentral #IntegrationEvent #BusinessEvent #ALCode #IsHandled
Use 𝙲𝚞𝚜𝚝𝚘𝚖𝙴𝚟𝚎𝚗𝚝 for custom event dispatching and handling in the DOM.
Use 𝙲𝚞𝚜𝚝𝚘𝚖𝙴𝚟𝚎𝚗𝚝 for custom event dispatching and handling in the DOM.
github.com/umbraco/Umbr...
github.com/umbraco/Umbr...