Michael Hoffmann Profile Banner
Michael Hoffmann Profile
Michael Hoffmann

@Mokkapps

Followers
6,157
Following
766
Media
1,958
Statuses
8,661

I'm helping developers to become @vuejs & @nuxt_js experts I'm running these side projects: 💌 @weekly_vue_news 🖼️ @CodeSnapDev

München, Bayern
Joined February 2012
Don't wanna be here? Send us removal request.
Explore trending content on Musk Viewer
Pinned Tweet
@Mokkapps
Michael Hoffmann
2 years
Hi, welcome to my Twitter account! 👋 I'm a Senior Frontend Developer specializing in @vuejs & @nuxt_js . Here I publish daily content on Vue & Nuxt, and I run a weekly newsletter about these topics ( @weekly_vue_news ). Follow for expert insights and tips!
Tweet media one
6
2
76
@Mokkapps
Michael Hoffmann
11 months
Developer team fixing a production bug on Friday after the deployment 😉
27
197
1K
@Mokkapps
Michael Hoffmann
5 months
🛠️ franken/ui 👉🏻 Franken UI is a collection of copy-pastable components that are HTML-first and framework agnostic.
Tweet media one
14
121
877
@Mokkapps
Michael Hoffmann
9 months
🛠️ Better Commits 👉🏻 A CLI for writing better commits, following the conventional commit guidelines.
22
78
529
@Mokkapps
Michael Hoffmann
9 months
💡 New in Vue 3.4 👉🏻 You can now use the same-name shorthand with v-bind @vuejs
Tweet media one
13
61
501
@Mokkapps
Michael Hoffmann
1 year
I don’t like 🙅‍♂️ Backend code should not be in the same file as frontend code What do you think about this?
@AdamRackis
Adam Rackis
1 year
Server actions 🔥
Tweet media one
782
306
4K
164
25
480
@Mokkapps
Michael Hoffmann
9 months
💡 New in Vue 3.4 👉🏻 Starting in @vuejs 3.4, the defineModel() macro is the recommended approach to implement two-way binding with v-model.
Tweet media one
12
63
364
@Mokkapps
Michael Hoffmann
9 months
„My boyfriend is a @vuejs developer“
3
39
347
@Mokkapps
Michael Hoffmann
2 years
🤩 In Vue 3.3 you no longer need to use two <script> blocks to define component options but you can use the defineOptions compiler macro You can also use it today in your Vue 2/3 app using the Vue Macros library: @vuejs
Tweet media one
10
49
350
@Mokkapps
Michael Hoffmann
1 year
🛠️ Tailwind Prettier Plugin 👉🏻 A Prettier plugin for Tailwind CSS v3.0+ that automatically sorts classes based on their recommended class order
Tweet media one
6
49
347
@Mokkapps
Michael Hoffmann
9 months
📕 Deep Cloning Objects in JavaScript, the Modern Way 👉🏻 The structured clone function, which is built into the JavaScript runtime, can be used to make deep copies of objects in JavaScript.
4
37
293
@Mokkapps
Michael Hoffmann
2 years
I 💚 Vue 🤩 It's syntax is so clean & concise Why do you love @vuejs , leave a comment!
Tweet media one
41
22
288
@Mokkapps
Michael Hoffmann
10 months
🛠️ Float UI 👉🏻 Float UI is an open-source and free Tailwind UI library for HTML, React, Vue, and Svelte, with production-ready templates.
4
63
271
@Mokkapps
Michael Hoffmann
1 year
💡 Nuxt Tip: Use Bun instead of Node.js @nuxt_js 🧵 👇🏻
Tweet media one
12
18
267
@Mokkapps
Michael Hoffmann
1 year
🛠️ Radix Vue 👉🏻 Radix Vue is a Vue port of Radix UI. 👉🏻 Unstyled, accessible components for building high‑quality design systems and web apps in Vue.
Tweet media one
4
31
260
@Mokkapps
Michael Hoffmann
1 year
🛠️ driver.js 👉🏻 Powerful, highly customizable vanilla JavaScript engine for page tours and contextual help systems. 👉🏻 No external dependencies, light-weight, supports all major browsers and highly customizable.
Tweet media one
2
35
248
@Mokkapps
Michael Hoffmann
2 years
I recommend creating new @vuejs components with these files: ⭐ Button.vue - Vue SFC component ⭐ Button.test.ts - Vitest + testing library unit tests ⭐ Button.stories.ts - Storybook stories ⭐ Button.types.ts - TypeScript types ⭐ index.ts - Re-exports (barrel) Your opinion?
Tweet media one
24
27
246
@Mokkapps
Michael Hoffmann
2 years
💡 Vue Tip: Avoid empty wrapper for conditions
Tweet media one
9
39
239
@Mokkapps
Michael Hoffmann
2 years
😮 Evan You ( @youyuxi ) built solid style signals in @vuejs in ~10 lines:
Tweet media one
6
24
221
@Mokkapps
Michael Hoffmann
2 years
💚 Vue 3.3 will provide the defineModel compiler macro For more details, checkout my article:
Tweet media one
5
36
215
@Mokkapps
Michael Hoffmann
1 year
🛠️ Vue Rewards 👉🏻 Rewards your users with the rain of confetti, emoji or balloons in seconds.
1
31
198
@Mokkapps
Michael Hoffmann
11 months
💡 Pinia Tip: Simple History With Undo and Redo Functionality @vuejs 🧵 👇🏻
Tweet media one
2
31
190
@Mokkapps
Michael Hoffmann
1 year
💡 Vue Tip: Show inlay hints in VS Code for missing props 👉🏻 The Volar extension can show inlay hints for missing components props 👉🏻 Disabled by default, enable it in the settings "Vue > Inlay Hints: Missing Props" 👉🏻 In JSON: ""vue.inlayHints.missingProps": true"
3
24
192
@Mokkapps
Michael Hoffmann
5 months
🛠️ extension.js 👉🏻 An easy way to create cross-browser web extensions without any build configuration. 👉🏻 It's plug-and-play and has built-in support for TypeScript, WebAssembly, React, and modern JavaScript.
Tweet media one
5
34
183
@Mokkapps
Michael Hoffmann
1 year
💡 Vue Tip: Don't use v-if with v-for @vuejs 🧵 👇🏻
Tweet media one
4
20
178
@Mokkapps
Michael Hoffmann
2 years
🚨🚀 LAUNCH 🚀🚨 My first eBook is out 🥳 "27 Helpful Tips for Vue Developers" Get your free copy by signing up for my @vuejs newsletter:
1
11
164
@Mokkapps
Michael Hoffmann
11 months
📕 Why I chose Vue over React 👉🏻 The author explains why he chose the best frontend framework available.
1
25
172
@Mokkapps
Michael Hoffmann
1 year
🛠️ Chrono 👉🏻 A natural language date parser in JavaScript. 👉🏻 It is designed to handle most date/time formats and extract information from any given text.
Tweet media one
2
19
170
@Mokkapps
Michael Hoffmann
10 months
💡 Nuxt Tip: Expose your dev server to the internet
Tweet media one
4
19
161
@Mokkapps
Michael Hoffmann
7 months
🛠️ Una UI 👉🏻 Una UI is an atomic UI Framework powered by the UNOCSS engine. 👉🏻 It provides components and presets for creating stunning user interfaces with ease.
Tweet media one
5
22
162
@Mokkapps
Michael Hoffmann
2 years
💚 Vue 3 will allow you to define emits in defineEmits() in a more ergonomic way How do you like it?
Tweet media one
7
21
153
@Mokkapps
Michael Hoffmann
9 months
📕 VueFire is now stable 👉🏻 VueFire, a first class Vue and Firebase experience — including support for Nuxt, is now stable
1
25
156
@Mokkapps
Michael Hoffmann
10 months
📕 date-fns v3 👉🏻 Full TypeScript rewrite 👉🏻 No more runtime type checking 👉🏻 Minimal size is now 200 bytes! 👉🏻 and more...
3
15
151
@Mokkapps
Michael Hoffmann
10 months
📕 Nuxt 3.9 is out 👉🏻 Vite 5 👉🏻 Interactive server components 👉🏻 New composables 👉🏻 A new loading API 👉🏻 And more...
1
18
151
@Mokkapps
Michael Hoffmann
2 years
🙏🏻 @vuejs developers please use Computed Properties Just take a look at the code example below... I recently stumpled upon that code and it could be easily refactored using a Computed Prop.
Tweet media one
5
18
145
@Mokkapps
Michael Hoffmann
7 months
📕 App structure for big Vue projects 👉🏻 The author describe what he thinks has been the more intuitive easy to work and maintain folder structure in medium to large @vuejs applications.
2
25
145
@Mokkapps
Michael Hoffmann
1 year
I 💚 @vuejs
Tweet media one
4
9
146
@Mokkapps
Michael Hoffmann
6 months
💡 Vue Tip: Share Styling Using Wrapper Components 🧵 👇🏻 @vuejs
Tweet media one
3
21
147
@Mokkapps
Michael Hoffmann
1 year
🛠️ UI Lib Picker 👉🏻 Pick the right UI Library for your Vue 3 or Nuxt 3 Project.
Tweet media one
5
25
145
@Mokkapps
Michael Hoffmann
11 months
📕 Vite 5.0 is out! 👉🏻 v5 now uses Rollup 4, removes many deprecated features, and requires Node 18+
1
12
143
@Mokkapps
Michael Hoffmann
6 months
🛠️ vue-tel-input 👉🏻 International Telephone Input with @vuejs .
Tweet media one
1
21
142
@Mokkapps
Michael Hoffmann
1 year
💡 Vue Tip: Split Your SFC into Multiple Files @vuejs 🧵 👇🏻
Tweet media one
15
26
141
@Mokkapps
Michael Hoffmann
11 months
📹 Vue 3 & Composition API - Full Project 👉🏻 Build an expense tracker application from scratch using Vue.js 3 and the composition API with the latest syntax from version 3.2.
1
24
136
@Mokkapps
Michael Hoffmann
8 months
💡 Vue Tip: Passing Slots to Child Components 🧵 👇🏻 @vuejs
Tweet media one
3
11
136
@Mokkapps
Michael Hoffmann
1 year
🛠️ Shadcn for Vue 👉🏻 A community-led Vue port of the React-oriented "shadcn/ui" component library. 👉🏻 A suite of attractive components built with Tailwind CSS and Radix UI that you can easily "copy and paste" into your apps.
Tweet media one
4
13
128
@Mokkapps
Michael Hoffmann
2 years
💡 React, Vue, Angular and Svelte use different techniques to conditionally render elements. ❓Which do you prefer? (Thanks for all the feedback on my last post, this version should hopefully be correct ☺️)
Tweet media one
59
16
129
@Mokkapps
Michael Hoffmann
1 year
✍🏻 I published a new blog post "A Comprehensive Guide to Data Fetching in Nuxt 3" @nuxt_js 👉🏻 In this article, I'll explain everything you need to know about the different data fetching methods available in Nuxt 3 and when to use them.
Tweet media one
8
27
129
@Mokkapps
Michael Hoffmann
1 year
💚 What's New in Vue 3.3 @vuejs 🧵 👇🏻
Tweet media one
2
30
124
@Mokkapps
Michael Hoffmann
2 years
💡 Nuxt Tip: Refresh data by watching sources using useAsyncData @nuxt_js 🧵 👇🏻
Tweet media one
5
25
128
@Mokkapps
Michael Hoffmann
10 months
💡 Vue Tip: Use a Head Manager 🧵 👇🏻 @vuejs
Tweet media one
4
12
126
@Mokkapps
Michael Hoffmann
10 months
🛠️ Nuxt API Party 👉🏻 Connect with any API securely with server proxy & dynamic composable names.
Tweet media one
0
20
123
@Mokkapps
Michael Hoffmann
1 year
💡 Enable Vue 3.3's destructuring props feature in Nuxt 3
Tweet media one
2
25
121
@Mokkapps
Michael Hoffmann
1 year
💡 Vue Tip: Dynamic Slot Names 🧵 👇🏻 @vuejs
Tweet media one
2
4
124
@Mokkapps
Michael Hoffmann
1 year
💡 Vue Tip: Event Handling 🧵 👇🏻 @vuejs
Tweet media one
2
25
119
@Mokkapps
Michael Hoffmann
9 months
🛠️ The next iteration of Vue DevTools 👉🏻 Enhance your Vue development journey with an amazing experience!
Tweet media one
Tweet media two
5
16
121
@Mokkapps
Michael Hoffmann
10 months
💡 Nuxt Quick Tip: Render component only during development 👉🏻 @nuxt_js provides the <DevOnly> component to render a component only during development. 👉🏻 The content will not be included in production builds and tree-shaken.
Tweet media one
5
17
118
@Mokkapps
Michael Hoffmann
1 year
💡 Volar Tip (VS Code Extension) 👉🏻 You can now extract simple parts of your template into a new component 👉🏻 Select the code inside template and press CMD + . to show the context menu
2
21
116
@Mokkapps
Michael Hoffmann
7 months
🛠️ vue0 👉🏻 An open Source alternative for v0. 👉🏻 Generate usable @vuejs component, not just UI. 👉🏻 Support `shadcn/vue` for now.
2
18
117
@Mokkapps
Michael Hoffmann
9 months
💡 Vue Tip: Watch Slot Changes 🧵 👇🏻 @vuejs
Tweet media one
3
12
117
@Mokkapps
Michael Hoffmann
1 year
📕 6 Advanced TypeScript Tricks for Clean Code 👉🏻 Six advanced TypeScript tips will be covered here, along with examples showing how each one works step by step and their benefits. 👉🏻 Covers topics like decorators, namespaces, mixins and more.
1
26
114
@Mokkapps
Michael Hoffmann
7 months
💡 Nuxt Quick Tip: Use different Favicon for development and production 👉🏻 Use different Favicon to quickly distinguish between different environments in your open browser tabs. @nuxt_js
Tweet media one
4
16
116
@Mokkapps
Michael Hoffmann
9 months
💡 Vue Tip: Check if Component Has Event Listener Attached 🧵 👇🏻 @vuejs
Tweet media one
2
13
116
@Mokkapps
Michael Hoffmann
8 months
🛠️ VueEmail 👉🏻 A collection of high-quality, unstyled components for creating beautiful emails using Vue and TypeScript. 👉🏻 I use it for @weekly_vue_news
6
21
115
@Mokkapps
Michael Hoffmann
2 years
💡 Vue Tip: Use Scoped Slots in a Child Component to Provide Data for Parent Component A Scoped Slot in a child component can provide data for presentation in the parent component using a slot. 🧵 👇🏻 @vuejs
Tweet media one
4
17
113
@Mokkapps
Michael Hoffmann
11 months
📕 Vue Patterns 👉🏻 Free guide for Vue patterns that can significantly help in writing clean, efficient, and maintainable code. 👉🏻 Includes patterns like composables, provide/inject, and more.
1
16
114
@Mokkapps
Michael Hoffmann
7 years
If you care about privacy (which you definitely should) you should use @duckduckgo instead of Google as your default search engine
6
30
104
@Mokkapps
Michael Hoffmann
1 year
👀I'm working on a new blog post about data fetching in @nuxt_js 3 Is this something you're interested in?
Tweet media one
10
4
110
@Mokkapps
Michael Hoffmann
1 year
💡 Vue Tip: Optimize Performance Using shallowRef @vuejs 🧵 👇🏻
Tweet media one
4
27
106
@Mokkapps
Michael Hoffmann
1 year
📕 Modern HTML email (tables no longer required) 👉🏻 The new Outlook switches rendering engines from Microsoft Word to Edge
3
21
109
@Mokkapps
Michael Hoffmann
1 year
🛠️ TypeStat 👉🏻 TypeStat converts JavaScript into TypeScript and modifies TypeScript types in existing code. 👉🏻 It can add and remove types without changing runtime behavior. 👉🏻 It can also infer types and annotate missing nulls and undefineds.
Tweet media one
3
13
110
@Mokkapps
Michael Hoffmann
7 months
🛠️ Vue DevTools 👉🏻 v6.6.0 introduces a completely new UI for our beloved @vuejs DevTools.
Tweet media one
5
18
108
@Mokkapps
Michael Hoffmann
1 year
It can be helpful to read the documentation 🤪
11
14
106
@Mokkapps
Michael Hoffmann
9 months
🛠️ Svgl 👉🏻 A library of free-to-use SVG logos.
3
20
107
@Mokkapps
Michael Hoffmann
8 months
First video footage recorded inside the @nuxt_js headquarters 💪🏻💚🚀
4
9
109
@Mokkapps
Michael Hoffmann
10 months
🛠️ Nuxt Templates 👉🏻 Nuxt now provides a list of community templates that can help you get up and running in a new application in a few seconds.
Tweet media one
2
20
107
@Mokkapps
Michael Hoffmann
1 year
💡 Nuxt Tip 👉🏻 Since 3.7, you can define your route rules within the page component you want them applied to
Tweet media one
0
16
103
@Mokkapps
Michael Hoffmann
10 months
📕 A simple Vue form validation composable with Zod 👉🏻 In this article, you'll see how to create a simple Vue composable for form validation with just a few lines of code 👉🏻 The composable uses Zod under the hood to validate form data.
0
22
102
@Mokkapps
Michael Hoffmann
1 year
🛠️ Uno UI 👉🏻 A Vue.js based UnoCSS UI library including a comprehensive collection of prebuilt, ready-to-use components.
Tweet media one
0
15
101
@Mokkapps
Michael Hoffmann
1 year
📕 Vue Docs Chatbot 👉🏻 A chatbot trained on the entire Vue.js documentation markdown files.
Tweet media one
10
25
99
@Mokkapps
Michael Hoffmann
8 months
🐛 Spot the bug ❓ Why does the "useFetch" composable in @nuxt_js in this example not automatically refetch if "categoryId" is updated? 🙈 It took me 1-2 hours to find the root cause 😅
Tweet media one
30
6
101
@Mokkapps
Michael Hoffmann
1 year
📕 Ref vs. Reactive: What to Choose Using Vue 3 Composition API? 👉🏻 In this article, I'll explain how you can choose whether to utilize reactive, ref, or both to adding a reactive state to Vue components .
3
18
98
@Mokkapps
Michael Hoffmann
6 months
🛠️ Pinia Colada 👉🏻 An opinionated yet flexible data fetching layer on top of Pinia. 👉🏻 It's still experimental and not ready for production.
Tweet media one
4
12
101
@Mokkapps
Michael Hoffmann
2 years
📕 Good Ways To Organize Large Vue.js Project 👉🏻 It can be difficult to keep a large Vue.js project structured, but there are a number of tactics you can employ to do so. 👉🏻 Here are some helpful tips for structuring a sizable Vue.js project.
4
14
99
@Mokkapps
Michael Hoffmann
1 year
📕 Good practices and Design Patterns for Vue Composables 👉🏻 This article summarise good practices and design patterns about Vue composables.
4
26
100
@Mokkapps
Michael Hoffmann
8 months
💡 Vue Tip: Trigger Transition Programmatically 🧵 👇🏻 @vuejs
Tweet media one
1
15
98
@Mokkapps
Michael Hoffmann
9 months
💡 Nuxt Tip: Import Meta 👉🏻 "process.server" and "process.client" are deprecated 👉🏻 You should use the "import.meta" object instead
Tweet media one
2
14
97
@Mokkapps
Michael Hoffmann
8 months
🛠️ vueclid 👉🏻 A @vuejs package to create beautiful, interactive math diagrams.
Tweet media one
1
16
96
@Mokkapps
Michael Hoffmann
9 months
💡 Nuxt Quick Tip: Run with HTTPS locally 👉🏻 Listen with https protocol with a self-signed certificate by default.
Tweet media one
8
16
96
@Mokkapps
Michael Hoffmann
1 year
Which frontend framework will have the biggest community in 5 years?
React
1713
Vue
1766
Angular
222
Svelte
391
39
14
93
@Mokkapps
Michael Hoffmann
1 year
📕 Minimizing Nuxt 3 Docker Images 👉🏻 In this blog post, you'll learn how to minimize Nuxt 3 Docker images 👉🏻 Starting with a basic unoptimized image that is 1.4 Gigabyte large and ending with an image that's only 164 MB in size.
1
18
95
@Mokkapps
Michael Hoffmann
9 months
🛠️ Schedule-X 👉🏻 A Material Design calendar and date picker. 👉🏻 Available in the form of React, Vue or plain JS components.
Tweet media one
4
10
93
@Mokkapps
Michael Hoffmann
8 months
🛠️ Drag & Drop 👉🏻 A tiny (~4Kb) data-first drag and drop library for React, @vuejs , and native JavaScript apps by @FormKit .
1
13
93
@Mokkapps
Michael Hoffmann
2 years
📕 Awesome Software and Architectural Design Patterns 👉🏻 This repository contains a curated list of software and architecture-related design patterns.
Tweet media one
0
25
89
@Mokkapps
Michael Hoffmann
6 months
💡 TypeScript: Prefer Record over a Switch Statement 👉🏻 Easier to read 👉🏻 Cleaner code 👉🏻 If you forget a case, your code won't compile
Tweet media one
1
11
92
@Mokkapps
Michael Hoffmann
1 year
💡 Vue Tip: Chaining Event Modifiers By chaining multiple event modifiers together, you can create sophisticated event handling scenarios with ease.
Tweet media one
3
11
91
@Mokkapps
Michael Hoffmann
1 year
🛠️ Unlighthouse 👉🏻 Unlighthouse scans your entire site using Google Lighthouse, with a modern UI, minimal config and smart sampling. 👉🏻 It takes two minutes on average and is open source.
Tweet media one
0
23
92
@Mokkapps
Michael Hoffmann
1 year
📕 The Concise TypeScript Book 👉🏻 This book enhances understanding and proficiency in TypeScript for both beginner and experienced developers.
1
30
91