[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$KiqIp5Qu8t":3,"category-template":52},{"id":4,"extension":5,"items":6,"meta":49,"stem":50,"__hash__":51},"menu\u002Fmenu.json","json",[7,12,16,20,24,28,32,36,41,45],{"i18nId":8,"to":9,"ariaLabel":10,"mainNavigation":11},"components.menu.home","\u002F","Home",true,{"i18nId":13,"to":14,"ariaLabel":15,"mainNavigation":11},"components.menu.about","\u002Fhire-me","About",{"i18nId":17,"to":18,"ariaLabel":19,"mainNavigation":11},"components.menu.testimonials","\u002Ftestimonials","Testimonials",{"i18nId":21,"to":22,"ariaLabel":23},"components.menu.contact","\u002Fcontact","Contact",{"i18nId":25,"to":26,"ariaLabel":27,"mainNavigation":11},"components.menu.blog","\u002Fblog","Blog",{"i18nId":29,"to":30,"ariaLabel":31,"mainNavigation":11},"components.menu.tips","\u002Fvue-tips","Vue Tips",{"i18nId":33,"to":34,"ariaLabel":35,"mainNavigation":11},"components.menu.projects","\u002Fprojects","Projects",{"i18nId":37,"to":38,"ariaLabel":39,"mainNavigation":40},"components.menu.stats","\u002Fstats","stats",false,{"i18nId":42,"to":43,"ariaLabel":44,"mainNavigation":40},"components.menu.businessCard","\u002Fbusiness-card","Business Card",{"i18nId":46,"to":47,"ariaLabel":48,"mainNavigation":40},"components.menu.publications","\u002Fpublications","Publications",{},"menu","njLT1QoRt2Dv8QWoVmH8xdTAiDywSj0bxBQdmoyWUE0",{"articles":53,"topics":496},[54,70,80,91,102,113,123,133,143,153,163,173,183,193,203,213,223,233,244,255,265,275,285,295,305,315,325,335,345,355,365,375,385,396,406,416,426,436,446,456,466,476,486],{"path":55,"title":56,"description":57,"date":58,"cover":59,"categories":60,"readingTime":63,"kind":68,"imageProvider":69},"\u002Fvue-tips\u002Fcache-component-instances-with-the-keep-alive-component","Vue Tip: Cache Component Instances With the KeepAlive Component","KeepAlive is a built-in Vue component that allows you to conditionally cache component instances when dynamically switching between multiple components.","2024-06-19","",[61,62],"template","performance",{"text":64,"minutes":65,"time":66,"words":67},"2 min read",1.445,86700,289,"vueTip","twicpics",{"path":71,"title":72,"description":73,"date":74,"cover":59,"categories":75,"readingTime":76,"kind":68,"imageProvider":69},"\u002Fvue-tips\u002Fhow-i-write-class-and-style-bindings","Vue Tip: How I Write Class & Style Bindings","Styling your components in Vue.js can be done in multiple ways. One of the most common ways is to use the class attribute, especially if you are using a CSS framework like Tailwind. In combination with v-bind you can dynamically assign classes to your components.","2024-05-30",[61],{"text":64,"minutes":77,"time":78,"words":79},1.115,66900,223,{"path":81,"title":82,"description":83,"date":84,"cover":59,"categories":85,"readingTime":86,"kind":68,"imageProvider":69},"\u002Fvue-tips\u002Fshare-styling-using-wrapper-components","Vue Tip: Share Styling Using Wrapper Components","Wrapper components can help you share styling across multiple Vue components. This can make your code cleaner and more maintainable.","2024-04-11",[61],{"text":87,"minutes":88,"time":89,"words":90},"1 min read",0.645,38700,129,{"path":92,"title":93,"description":94,"date":95,"cover":59,"categories":96,"readingTime":98,"kind":68,"imageProvider":69},"\u002Fvue-tips\u002Fdont-use-reactive-object-for-template-refs","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 ref to access the element in the template.","2024-02-22",[61,97],"script",{"text":87,"minutes":99,"time":100,"words":101},0.97,58200,194,{"path":103,"title":104,"description":105,"date":106,"cover":59,"categories":107,"readingTime":109,"kind":68,"imageProvider":69},"\u002Fvue-tips\u002Fpassing-slots-to-child-components","Vue Tip: Passing Slots to Child Components","In certain scenarios, you need to pass on all slots from a parent component to the child component.","2024-01-27",[61,108],"slots",{"text":87,"minutes":110,"time":111,"words":112},0.75,45000,150,{"path":114,"title":115,"description":116,"date":117,"cover":59,"categories":118,"readingTime":119,"kind":68,"imageProvider":69},"\u002Fvue-tips\u002Fcheck-if-component-has-event-listener-attached","Vue Tip: Check if Component Has Event Listener Attached","Sometimes, you want to apply specific styles to a  component only if it has an event listener attached.","2024-01-11",[61,97],{"text":87,"minutes":120,"time":121,"words":122},0.665,39900,133,{"path":124,"title":125,"description":126,"date":127,"cover":59,"categories":128,"readingTime":129,"kind":68,"imageProvider":69},"\u002Fvue-tips\u002Fwatch-slot-changes","Vue Tip: Watch Slot Changes","You can use the MutationObserver API to react to changes in the slot content.","2024-01-05",[61,97,108],{"text":64,"minutes":130,"time":131,"words":132},1.08,64800,216,{"path":134,"title":135,"description":136,"date":137,"cover":59,"categories":138,"readingTime":139,"kind":68,"imageProvider":69},"\u002Fvue-tips\u002Fbest-way-to-force-re-render-vue-component","Vue Tip: Best Way to Force Re-Render Vue Component","In certain scenarios, Vue's reactivity approach isn’t sufficient, and we need to force re-rendering of specific components.","2023-12-15",[97,61],{"text":87,"minutes":140,"time":141,"words":142},0.84,50400,168,{"path":144,"title":145,"description":146,"date":147,"cover":59,"categories":148,"readingTime":149,"kind":68,"imageProvider":69},"\u002Fvue-tips\u002Faccessing-template-ref-in-child-component","Vue Tip: Accessing Template Ref in Child Component","Learn how to access template refs in a child component within a Vue.js application, enabling you to manipulate and interact with specific elements in the child component's template from the parent component.","2023-10-27",[61,97],{"text":87,"minutes":150,"time":151,"words":152},0.7,42000,140,{"path":154,"title":155,"description":156,"date":157,"cover":59,"categories":158,"readingTime":159,"kind":68,"imageProvider":69},"\u002Fvue-tips\u002Fdynamic-slot-names","Vue Tip: Dynamic Slot Names","Dynamic directive arguments also work on v-slot, allowing the definition of dynamic slot names.","2023-10-07",[61],{"text":87,"minutes":160,"time":161,"words":162},0.74,44400,148,{"path":164,"title":165,"description":166,"date":167,"cover":59,"categories":168,"readingTime":169,"kind":68,"imageProvider":69},"\u002Fvue-tips\u002Fevent-handling","Vue Tip: Event Handling","There are different ways how to handle events in Vue. Let's take a look at them.","2023-09-23",[61,97],{"text":64,"minutes":170,"time":171,"words":172},1.485,89100,297,{"path":174,"title":175,"description":176,"date":177,"cover":59,"categories":178,"readingTime":179,"kind":68,"imageProvider":69},"\u002Fvue-tips\u002Fsplit-your-sfc-into-multiple-files","Vue Tip: Split Your SFC into Multiple Files","Use the 'src' attribute to import an external file for a language block in your Vue Single-File Components (SFC).","2023-07-12",[61,97],{"text":87,"minutes":180,"time":181,"words":182},0.92,55200,184,{"path":184,"title":185,"description":186,"date":187,"cover":59,"categories":188,"readingTime":189,"kind":68,"imageProvider":69},"\u002Fvue-tips\u002Fdont-use-v-if-with-v-for","Vue Tip: Don't Use v-if With v-for","It can be tempting to combine v-if with v-for but you should avoid it as it will throw an error.","2023-06-16",[61],{"text":64,"minutes":190,"time":191,"words":192},1.69,101400,338,{"path":194,"title":195,"description":196,"date":197,"cover":59,"categories":198,"readingTime":199,"kind":68,"imageProvider":69},"\u002Fvue-tips\u002Fdetect-mouse-hover","Vue Tip: Detect Mouse Hover","You can use Vue event handlers to detect mouse hover events.","2023-06-07",[61],{"text":87,"minutes":200,"time":201,"words":202},0.945,56700,189,{"path":204,"title":205,"description":206,"date":207,"cover":59,"categories":208,"readingTime":209,"kind":68,"imageProvider":69},"\u002Fvue-tips\u002Fchaining-event-modifiers","Vue Tip: Chaining Event Modifiers","By chaining multiple event modifiers together, you can create sophisticated event handling scenarios with ease.","2023-05-04",[61],{"text":87,"minutes":210,"time":211,"words":212},0.905,54300,181,{"path":214,"title":215,"description":216,"date":217,"cover":59,"categories":218,"readingTime":219,"kind":68,"imageProvider":69},"\u002Fvue-tips\u002Feffortless-handle-asynchronous-components-with-suspense","Vue Tip: Effortless Handle Asynchronous Components With Suspense","Suspense components are used to display fallback content when waiting for some sort of asynchronous component to resolve.","2023-04-28",[61,97],{"text":64,"minutes":220,"time":221,"words":222},1.785,107100,357,{"path":224,"title":225,"description":226,"date":227,"cover":59,"categories":228,"readingTime":229,"kind":68,"imageProvider":69},"\u002Fvue-tips\u002Fwhen-to-use-render-function","Vue Tip: When to Use Render Function","When should I use a render function in Vue.js? We’re going to cover some advanced Vue.js patterns when you need to use render functions.","2023-03-15",[61,97],{"text":64,"minutes":230,"time":231,"words":232},1.09,65400,218,{"path":234,"title":235,"description":236,"date":237,"cover":59,"categories":238,"readingTime":240,"kind":68,"imageProvider":69},"\u002Fvue-tips\u002Fdebugging-in-templates","Vue Tip: Debugging in Templates","Guide to debug Vue component templates using the Browser DevTools.","2023-02-16",[61,239],"debugging",{"text":87,"minutes":241,"time":242,"words":243},0.915,54900,183,{"path":245,"title":246,"description":247,"date":248,"cover":59,"categories":249,"readingTime":250,"kind":68,"imageProvider":69},"\u002Fvue-tips\u002Favoid-mutating-a-prop-directly","Vue Tip: Avoid Mutating a Prop Directly","Mutating props is an anti-pattern. You should use computed properties instead.","2022-12-13",[61,97],{"text":251,"minutes":252,"time":253,"words":254},"4 min read",3.905,234300,781,{"path":256,"title":257,"description":258,"date":259,"cover":59,"categories":260,"readingTime":261,"kind":68,"imageProvider":69},"\u002Fvue-tips\u002Fdisable-attribute-inheritance","Vue Tip: Disable Attribute Inheritance","By default, parent scope attribute bindings that are not recognized as props will \"fallthrough\". This may not always be the desired behavior and, therefore, can be disabled. A typical use case is a component with multiple root nodes.","2022-12-10",[61,97],{"text":64,"minutes":262,"time":263,"words":264},1.065,63900,213,{"path":266,"title":267,"description":268,"date":269,"cover":59,"categories":270,"readingTime":271,"kind":68,"imageProvider":69},"\u002Fvue-tips\u002Fchange-the-interpolation-delimiter","Vue Tip: Change the Interpolation Delimiter","It is possible to adjust the delimiters used for text interpolation within the template to avoid conflicting with server-side frameworks that also use mustache syntax.","2022-11-17",[61],{"text":87,"minutes":272,"time":273,"words":274},0.765,45900,153,{"path":276,"title":277,"description":278,"date":279,"cover":59,"categories":280,"readingTime":281,"kind":68,"imageProvider":69},"\u002Fvue-tips\u002Fuse-vue-without-build-step","Vue Tip: Use Vue Without Build Step","When using Vue from a CDN, no \"build step\" is involved. This makes the setup much more straightforward and is suitable for enhancing static HTML or integrating with a backend framework.","2022-11-08",[61,97],{"text":64,"minutes":282,"time":283,"words":284},1.1,66000,220,{"path":286,"title":287,"description":288,"date":289,"cover":59,"categories":290,"readingTime":291,"kind":68,"imageProvider":69},"\u002Fvue-tips\u002Fdefining-and-registering-vue-web-components","Vue Tip: Defining and Registering Vue Web Components","Web Components is an umbrella term for a set of web native APIs that allows developers to create reusable custom elements. Vue has excellent support for both consuming and creating custom elements.","2022-11-04",[61,97],{"text":64,"minutes":292,"time":293,"words":294},1.135,68100,227,{"path":296,"title":297,"description":298,"date":299,"cover":59,"categories":300,"readingTime":301,"kind":68,"imageProvider":69},"\u002Fvue-tips\u002Fexpose-properties-in-a-script-setup-component","Vue Tip: Expose Properties in a Script Setup Component","Components using script setup are closed by default and will not expose any of the bindings declared inside script setup.","2022-10-08",[61,97],{"text":87,"minutes":302,"time":303,"words":304},0.62,37200,124,{"path":306,"title":307,"description":308,"date":309,"cover":59,"categories":310,"readingTime":311,"kind":68,"imageProvider":69},"\u002Fvue-tips\u002Fexpose-slots-from-a-child-component","Vue Tip: Expose Slots From a Child Component ","Third-party components are often wrapped in a custom component. But in that way, the slots of the third-party component get lost.","2022-10-01",[61,108],{"text":87,"minutes":312,"time":313,"words":314},0.64,38400,128,{"path":316,"title":317,"description":318,"date":319,"cover":59,"categories":320,"readingTime":321,"kind":68,"imageProvider":69},"\u002Fvue-tips\u002Ftyping-template-refs-with-type-script","Vue Tip: Typing Template Refs With TypeScript","Template refs only exist after the component is mounted. Thus, it’s necessary to type template refs with a union type that includes the DOM element type as well as null.","2022-09-03",[61,97],{"text":64,"minutes":322,"time":323,"words":324},1.055,63300,211,{"path":326,"title":327,"description":328,"date":329,"cover":59,"categories":330,"readingTime":331,"kind":68,"imageProvider":69},"\u002Fvue-tips\u002Fcreating-a-custom-directive","Vue Tip: Creating a Custom Directive","In addition to the default set of directives like v-model or v-show, you can also register your own custom directives.","2022-08-13",[61],{"text":64,"minutes":332,"time":333,"words":334},1.595,95700,319,{"path":336,"title":337,"description":338,"date":339,"cover":59,"categories":340,"readingTime":341,"kind":68,"imageProvider":69},"\u002Fvue-tips\u002Favoid-directly-dom-manipulation","Vue Tip: Avoid Directly DOM Manipulation","It is a no-go to manipulate the DOM in Vue.js directly. Instead, you should use the \"ref\" attribute.","2022-08-10",[61,97],{"text":87,"minutes":342,"time":343,"words":344},0.98,58800,196,{"path":346,"title":347,"description":348,"date":349,"cover":59,"categories":350,"readingTime":351,"kind":68,"imageProvider":69},"\u002Fvue-tips\u002Fuse-vue-app-instance-as-global-store","Vue Tip: Use Vue App Instance as Global Store","Vue provides an object that can be used to register global properties that can be accessed on any component instance inside the application.","2022-07-25",[61,97],{"text":87,"minutes":352,"time":353,"words":354},0.5,30000,100,{"path":356,"title":357,"description":358,"date":359,"cover":59,"categories":360,"readingTime":361,"kind":68,"imageProvider":69},"\u002Fvue-tips\u002Fwhen-to-use-v-if","Vue Tip: When to Use v-if","v-if has higher toggle costs while v-show has higher initial render costs.","2022-07-20",[61],{"text":87,"minutes":362,"time":363,"words":364},0.335,20100,67,{"path":366,"title":367,"description":368,"date":369,"cover":59,"categories":370,"readingTime":371,"kind":68,"imageProvider":69},"\u002Fvue-tips\u002Favoid-empty-wrapper-for-conditions","Vue Tip: Avoid Empty Wrapper for Conditions","There are many situations when you need to conditionally display multiple Vue components. To avoid \"empty\" wrappers you should use not use HTML tags.","2022-07-14",[61],{"text":87,"minutes":372,"time":373,"words":374},0.35,21000,70,{"path":376,"title":377,"description":378,"date":379,"cover":59,"categories":380,"readingTime":381,"kind":68,"imageProvider":69},"\u002Fvue-tips\u002Fdelay-loading-appearance-of-spinner","Vue Tip: Delay Loading Appearance of Spinner","Eager delay spinners are not a good user experience. They can make a snappy user interface feel slower. We want delay spinners to appear only after a perceivable delay.","2022-07-12",[61,97],{"text":64,"minutes":382,"time":383,"words":384},1.22,73200,244,{"path":386,"title":387,"description":388,"date":389,"cover":59,"categories":390,"readingTime":391,"kind":68,"imageProvider":69},"\u002Fvue-tips\u002Fcheck-if-slot-is-empty","Vue Tip: Check if Slot Is Empty","You can check if a slot is empty, for example, only to render it if it has content.","2022-07-06",[61,97,108],{"text":392,"minutes":393,"time":394,"words":395},"3 min read",2.17,130200,434,{"path":397,"title":398,"description":399,"date":400,"cover":59,"categories":401,"readingTime":402,"kind":68,"imageProvider":69},"\u002Fvue-tips\u002Fmemoize-a-sub-tree-of-the-template-using-v-memo","Vue Tip: Memoize a Sub-Tree of the Template Using v-memo","The v-memo directive is like a computed prop for the template.","2022-06-29",[61],{"text":87,"minutes":403,"time":404,"words":405},0.3,18000,60,{"path":407,"title":408,"description":409,"date":410,"cover":59,"categories":411,"readingTime":412,"kind":68,"imageProvider":69},"\u002Fvue-tips\u002Fuse-fallthrough-attributes","Vue Tip: Use Fallthrough Attributes","A 'fallthrough attribute' is an attribute or v-on event listener that is passed to a component, but is not explicitly declared in the receiving component's props or emits. Common examples of this include class, style, and id attributes.","2022-06-15",[61],{"text":64,"minutes":413,"time":414,"words":415},1.76,105600,352,{"path":417,"title":418,"description":419,"date":420,"cover":59,"categories":421,"readingTime":422,"kind":68,"imageProvider":69},"\u002Fvue-tips\u002Fprovide-fallback-content-for-slots","Vue Tip: Provide Fallback Content for Slots","There are cases when it's useful to specify fallback (i.e. default) content for a slot, to be rendered only when no content is provided.","2022-06-08",[61],{"text":87,"minutes":423,"time":424,"words":425},0.355,21300,71,{"path":427,"title":428,"description":429,"date":430,"cover":59,"categories":431,"readingTime":432,"kind":68,"imageProvider":69},"\u002Fvue-tips\u002Fuse-optional-chaining-in-templates","Vue Tip: Use Optional Chaining in Templates","It's possible to use optional chaining in Vue templates.","2022-02-19",[61],{"text":87,"minutes":433,"time":434,"words":435},0.475,28500,95,{"path":437,"title":438,"description":439,"date":440,"cover":59,"categories":441,"readingTime":442,"kind":68,"imageProvider":69},"\u002Fvue-tips\u002Fdisplay-raw-html","Vue Tip: Display Raw HTML","The double mustaches interpret the data as plain text, not HTML. To output real HTML, you will need to use the v-html directive.","2022-01-24",[61],{"text":87,"minutes":443,"time":444,"words":445},0.79,47400,158,{"path":447,"title":448,"description":449,"date":450,"cover":59,"categories":451,"readingTime":452,"kind":68,"imageProvider":69},"\u002Fvue-tips\u002Fuse-teleport-to-render-a-component-in-a-different-place","Vue Tip: Use Teleport to Render a Component in a Different Place","With teleport, you can render a component in a different place in the DOM tree, even if this place is not in your app's scope.","2022-01-09",[61],{"text":87,"minutes":453,"time":454,"words":455},0.795,47700,159,{"path":457,"title":458,"description":459,"date":460,"cover":59,"categories":461,"readingTime":462,"kind":68,"imageProvider":69},"\u002Fvue-tips\u002Fsimple-expressions-in-templates","Vue Tip: Simple Expressions in Templates","Vue component templates should only include simple expressions, with more complex expressions refactored into computed properties or methods.","2021-12-10",[61],{"text":87,"minutes":463,"time":464,"words":465},0.52,31200,104,{"path":467,"title":468,"description":469,"date":470,"cover":59,"categories":471,"readingTime":472,"kind":68,"imageProvider":69},"\u002Fvue-tips\u002Fv-once","Vue Tip: Avoid Unwanted Re-Renders of an Element Using v-once","The v-once directive is a Vue.js directive used to avoid unwanted re-renders of an element.","2021-11-21",[61],{"text":87,"minutes":473,"time":474,"words":475},0.43,25800,86,{"path":477,"title":478,"description":479,"date":480,"cover":59,"categories":481,"readingTime":482,"kind":68,"imageProvider":69},"\u002Fvue-tips\u002Fdestructure-in-v-for","Vue Tip: Destructure in v-for","It is possible to use ES6 destructuring in a v-for in Vue","2021-11-16",[61],{"text":87,"minutes":483,"time":484,"words":485},0.365,21900,73,{"path":487,"title":488,"description":489,"date":490,"cover":59,"categories":491,"readingTime":492,"kind":68,"imageProvider":69},"\u002Fvue-tips\u002Fprefer-slots-over-props","Vue Tip: Prefer Slots Over Props","Prefer slots over props as they give the parent the freedom to customize components.","2021-11-10",[61],{"text":87,"minutes":493,"time":494,"words":495},0.76,45600,152,[497,499,502,504,507,510,513,516,519,522,524,527,530,532,535,537,539,542,543,545,546,548,550,552,554,556,559,561,563,565,568,570,573,575,577,579,581,583,585,587],{"count":498,"name":97},59,{"count":500,"name":501},51,"frontend",{"count":503,"name":61},43,{"count":505,"name":506},29,"vue-js",{"count":508,"name":509},27,"nuxt",{"count":511,"name":512},23,"nuxt-js",{"count":514,"name":515},16,"backend",{"count":517,"name":518},14,"tools",{"count":520,"name":521},11,"career",{"count":520,"name":523},"fullstack",{"count":525,"name":526},10,"angular",{"count":528,"name":529},8,"composables",{"count":528,"name":531},"productivity",{"count":533,"name":534},6,"aws",{"count":533,"name":536},"router",{"count":533,"name":538},"testing",{"count":540,"name":541},5,"javascript",{"count":540,"name":62},{"count":540,"name":544},"portfolio",{"count":540,"name":108},{"count":547,"name":239},4,{"count":547,"name":549},"node-js",{"count":547,"name":551},"serverless",{"count":547,"name":553},"spring",{"count":547,"name":555},"v-model",{"count":557,"name":558},3,"gatsby",{"count":557,"name":560},"pinia",{"count":557,"name":562},"react",{"count":557,"name":564},"style",{"count":566,"name":567},2,"animations",{"count":566,"name":569},"freelancing",{"count":571,"name":572},1,"devtools",{"count":571,"name":574},"electron",{"count":571,"name":576},"git",{"count":571,"name":578},"mobile",{"count":571,"name":580},"state",{"count":571,"name":582},"store",{"count":571,"name":584},"supabase",{"count":571,"name":586},"tailwind-css",{"count":571,"name":588},"vuex"]