This week is the Vue.js Amsterdam conference, and it will be my first time participating. I'm excited to hear great talks and meet people from the community.
👉🏻 This blog post, unravels the intricacies of Vue 3 lifecycle hooks, accompanied by a real-time example that will shed light on their practical application.
👉🏻 By demonstrating a component with search capability, Maya Shavin will walkthrough a step-by-step guide on how to test a component with the preview Playwright's component testing feature.
👉🏻 In this example-driven talk, Eduardo discusses some of the bad practices he has seen in Pinia as well as the good ones that should have been used instead.
🔥 Vue Tip: Don't Use Reactive Object for Template Refs
Template Refs are a way to access elements in the DOM from within a Vue component. As the name suggests, you should use a refref to access the element in the template.
The watcher will log nullnull when the component is first instantiated, but when the component is mounted and the input is created, it will not trigger again. This happens because the input object becomes a new object which breaks reactivity if we use reactivereactive. Read Ref vs. Reactive: What to Choose Using Vue 3 Composition API? to learn more about this topic.
If we use refref instead, it will work as expected because only a refref can be reassigned in this way.
👉🏻 Interaction to Next Paint (INP), which is a holistic approach at measuring responsiveness, will officially become a Core Web Vital on March 12, 2024, replacing First Input Delay (FID).
Sunday, January 5, 2025 Update: Bluesky images work again and thus the Great Art on Bluesky channel is back. If you're on Bluesky please subscribe. # The crazy thing about Bluesky's API is they took already standardized things like links and enclosures, and after 20+ years came up with new definitions. Makes our apps more expensive to maintain, and we waste time and human wear and tear on stupid bullshit make-work. Developers are people, and our work is already horribly overly complex, we're working at the edge of comprehension, and what the fukc let's throw some more unnecessary complication into the mix. Arrogance, narcissism, whatever the source is, it's not a good way to introduce yourself. And, even better, after you go through the maze they break it, with an error message about legacy blob bullshit. They've already done this, and they're just getting started. It's why I say they should just adapt to RSS instead of trying to forc...
评论
发表评论