ramigs

1.1K posts

ramigs banner
ramigs

ramigs

@ramigsDev

Software engineer, specializing in JavaScript 🟨⬛️ Technical writer 📝

Lisbon Katılım Ağustos 2019
271 Takip Edilen67 Takipçiler
ramigs retweetledi
Vue School
Vue School@VueSchool_io·
Do you know what is a Vue.js error boundary component? 🤔 Think of error boundaries as specialized bodyguards for your components. They catch JavaScript errors in their descendant component tree and smoothly display a fallback UI instead of letting your entire application crash and burn. They're the difference between "the whole app is down!" and "hmm, that one widget isn't loading, but everything else works fine."
Vue School tweet media
English
0
1
12
792
ramigs retweetledi
Ryan Chenkie
Ryan Chenkie@ryanchenkie·
⚠️ Developers, please be careful when installing Homebrew. Google is serving sponsored links to a Homebrew site clone that has a cURL command to malware. The URL for this site is one letter different than the official site.
Ryan Chenkie tweet mediaRyan Chenkie tweet media
English
244
2.4K
11K
1.4M
ramigs retweetledi
Aiden Bai
Aiden Bai@aidenybai·
my favorite JavaScript API is `Proxy` – it allows you to "spy" on any object property
Aiden Bai tweet media
English
47
105
2.2K
197.6K
ramigs retweetledi
Cory House
Cory House@housecor·
Problem: You want to push your changes, but skip CI because you're not done yet, so running CI would be wasteful. Solution: Put this in the push commit message: [no ci] This skips the CI process.
Cory House tweet media
English
16
27
344
45.6K
ramigs retweetledi
Gabriel Vergnaud
Gabriel Vergnaud@GabrielVergnaud·
Template Literal Types are awesome. If you concat `number` and a union of time units, you have a human readable AND type-safe way to provide time values! 👇
English
3
54
750
47.7K
ramigs retweetledi
Michael Thiessen
Michael Thiessen@MichaelThiessen·
Ever struggled with refactoring or testing complex @vuejs composables? When business logic and reactivity get tangled together, it becomes a nightmare to refactor and test. The Thin Composables pattern separates your concerns, making your code simple to test and maintain.
Michael Thiessen tweet media
English
3
13
129
12.3K
ramigs retweetledi
sysxplore
sysxplore@sysxplore·
Quick Linux Tip 🐧 If you're having trouble reading the directories in the $PATH variable, you can make use of the tr command to replace colons with the newline characters so each directory is displayed on a single line. $ echo $PATH | tr ":" "\n" Here is an example:
sysxplore tweet media
English
7
87
526
24.8K
ramigs retweetledi
sysxplore
sysxplore@sysxplore·
Bash Scripting Basics
sysxplore tweet media
English
48
1.2K
9.1K
866.4K
ramigs retweetledi
Wes Bos
Wes Bos@wesbos·
navigator.sendBeacon is a method for POSTing data (string, blob, formData...) to an endpoint asynchronously The browser guarantees to run these requests to completion, which can be a more stable replacement for onbeforeunload or pagevisibility events with a fetch Have you used this before?
Wes Bos tweet media
English
62
69
1.3K
199.1K
ramigs retweetledi
UI/UX Savior
UI/UX Savior@UiSavior·
Alternatives to Using Pure Black (000000) and Pure White (FFFFFF) for Text and Backgrounds.
UI/UX Savior tweet mediaUI/UX Savior tweet media
English
31
596
6.1K
474.1K
ramigs retweetledi
Vue
Vue@vuejs·
📢 Important Update The much improved Vue Devtools v7 has been submitted for review on the Chrome web store under the stable channel, and we are flipping the switch tomorrow. Things to note: - The latest v7 **only supports Vue 3**. We have separate listings for legacy versions of v5 and v6, both of which support Vue 2. These legacy versions cannot be enabled at the same time with v7, but you can use a separate browser profile that only have v5 or v6 installed if you need to work on Vue 2 apps. - If you were previously using the beta channel, you can (and should) switch back to the stable channel, as the beta channel will only be used for testing experimental major new features and will not be updated regularly for bug fixes. - The github repo vuejs/devtools now also points to v7: github.com/vuejs/devtools More info about v7: devtools.vuejs.org
English
6
64
399
89K
ramigs retweetledi
Nuxt
Nuxt@nuxt_js·
I’m 8 years old 🥳
Nuxt tweet media
English
60
167
1.4K
56K
ramigs retweetledi
Shripal Soni
Shripal Soni@codewithshripal·
HTML Tip 💡 Do you know we can keep the form submit button outside the form? 🤩👇
Shripal Soni tweet media
English
17
79
667
33.9K
ramigs retweetledi
Michael Thiessen
Michael Thiessen@MichaelThiessen·
It's possible to add global properties to your @vuejs app in both Vue 2 and Vue 3:
Michael Thiessen tweet media
English
3
1
25
2.9K
ramigs retweetledi
David Mráz
David Mráz@davidm_ml·
Save these awesome CSS animations for your next project 🚀
English
10
103
632
23.1K
ramigs retweetledi
Michael Hoffmann
Michael Hoffmann@Mokkapps·
💡 Pinia Tip: Persist store data across sessions 👉🏻 Save the store's state to local storage or other storage mechanisms, and restores it when the application is refreshed. 👉🏻 This feature is especially useful for retaining user preferences or application state between.
Michael Hoffmann tweet media
English
4
10
123
7.2K
ramigs retweetledi
Wes Bos
Wes Bos@wesbos·
🤯 How am I just finding out about display: contents; Suuuuper handy for CSS Flexbox + Grid where the children aren't direct descendants.
English
107
583
5.4K
356.4K
ramigs retweetledi
Shripal Soni
Shripal Soni@codewithshripal·
CSS Tip 💡 Do you know we can simplify a large CSS selectors list using :where() ?🤩
Shripal Soni tweet media
English
6
31
157
6.1K
ramigs retweetledi
Gui
Gui@goenning·
Just found out that Fetch API has built-in timeout support! 🤯
Gui tweet media
English
55
246
2K
384.1K
ramigs retweetledi
Ahmad Shadeed
Ahmad Shadeed@shadeed9·
Here is a great use case for #CSS container queries, inspired by LinkedIn's feed. ✨ Show or hide each post action label (e.g: 'Like' or 'Comment') based on the container width. ✨ Learn more in my recent interactive guide about container queries: ishadeed.com/article/css-co…
English
4
37
273
21.8K