Nico Devs
@nicodevs
Followers
340
Following
3K
Media
48
Statuses
948
Senior Software Engineer | Vue + Nuxt + Laravel + Tailwind | D&D player in spare time | @TightenCo | https://t.co/Cad7aNvMTF
Joined July 2012
๐ 17 New(ish) Vanilla JavaScript Features You Might Have Missed https://t.co/JoYUS0Q4xc
tighten.com
JavaScript: the language many love to hate. Yeah, we've all seen the memes about its quirks and limitations. Maybe that's why we slap a whole typing system on top of it. And add one, two, or... ten...
0
4
39
Laravel 12.37 introduces a new insert() method for model factories โก Seed thousands of records with just one query โ๏ธ โ ๏ธ No model events or observers are triggered โ works like a raw insert. Perfect for testing, seeding, and performance-heavy setups ๐ก
7
21
178
Ahhh, that feeling when you discover JavaScript native features that let you say goodbye to bloated npm packages! Check out my article on @TightenCo's blog ๐
Every year, JavaScript brings new features that save us from relying on heavy libraries. From formatting dates to cloning objects, discover some of these handy additions in today's article.๐ https://t.co/iLxbjvRn2q
0
0
0
The game is ๐ฅ and the music slaps!
๐ฎ YOU GOT THE HIGH SCORE!! ๐ฎ Congratulations to @FaPerreault, the winner of the @TightenCo Laracon 2025 Game Jam! ๐ Stop by the Tighten booth to pick up your Nintendo Switch 2 ๐ You can play The Lambo Heist, and all the other brilliant entries, at
0
0
1
Vue tip for you! ๐ก `useKeyModifier` returns a boolean ref that indicates whether a lock key (like Caps Lock) is active. Ideal for warning users in login and sign-up forms!
3
24
178
Vue tip for you! ๐ก Mistakes happenโlet users undo! Pass a ref to `useRefHistory` to get `undo` and `redo` functions that restore its state. Perfect for tracking edits and lists. Not time travel, but close! ๐ฅ
1
19
195
Whenever the user clicks on a tab, the `activeTab` ref gets updated and the dynamic component re-renders โก
0
1
18
Vue tip for you! ๐ก Messy templates with a bunch of v-if and v-else to decide which component to render? Clean them up with dynamic components โจ Here, `activeTab` went from storing a string to storing a component, so we can do `<Component :is="activeTab">`. Code in reply! ๐
2
13
149
Did you know? You can use JSX in Vue โจ No April Fools' joke! Vue supports JSX and TSX. Just return a render function from your component. Share this with your React friends so they can finally write `class` instead of `className`!
2
2
17
Hey! Simple but important Vue tip ๐ก No need to wrap static data in a ref or reactive just to use it in your template! If the data won't change, a plain variable is all you need. Less reactivity to track, lower memory usage, better performance โจ
2
12
120
Hey! Vue Tip for you ๐ก Want to display a "time ago" message that auto-updates as time passes? Just pass a date to useTimeAgoโit returns a ref with a human-readable time ago message (1 minute ago) that updates automatically (2 minutes ago). Perfect for feeds and chats!
2
9
53
Awesome article on seeing databases that features Prism!
There's not just one way to seed your Laravel apps. Check out our latest article to learn: โ
How to import thousands of records from CSV โ
ย How to use AI to seed realistic data โ
ย How to create interactive seeders ...and more! Link in the first comment ๐
0
1
5
Never import all icons from Font Awesome. Doing so literally adds megabytes worth of SVGs to your JavaScript files. It kills performance ๐ Instead, import only the icons you need!
2
1
35
Hey! Vue tip for you๐ก useStorage gives you a ref that syncs changes with localStorage automatically. Use it in forms, and users will see the values they entered pre-filled if they reload or return to the page!
5
20
188
Clean up your Vue templates with this tip ๐ก If the variable you're passing to a prop matches its name: :size="size" ... you can use the shorthand! :size
12
20
203
Hey @heytjmiller! Prism makes a stellar appearance in my latest article on Tighten's blog. Yes, I had to edit the draft multiple times to change the namespace ๐ Thank you for such a fantastic package! https://t.co/QAfCTSDZcj
There's not just one way to seed your Laravel apps. Check out our latest article to learn: โ
How to import thousands of records from CSV โ
ย How to use AI to seed realistic data โ
ย How to create interactive seeders ...and more! Link in the first comment ๐
1
0
6
Hey! Laravel tip for you ๐ก SQLite CLI has a CSV mode to import CSVs directly into a table: sqlite> .mode csv sqlite> .import products.csv products Use Laravel's Process to run this command in a seeder and quickly populate any table!
0
2
5
Look, Mom, Michael shared my post!
๐ Automatically Deploy Your Nuxt Static Site to DigitalOcean with GitHub Actions ๐๐ป Auto-deploy is one of the great features of Netlify and Vercel. ๐๐ป The author of this article loves that, but prefers to manage his own server. https://t.co/sqpOV8aeI6
1
0
3
Hey! Vue Tip for you ๐ก Yes, you can destructure props now! Destructured props used to lose reactivityโbut not anymore. Since Vue 3.5 (Sept. 2024), variables destructured from a `defineProps` call in `<script setup>` are reactive. You can even set default values this way. ๐
5
11
114