Bruno Sabot

1.6K posts

Bruno Sabot banner
Bruno Sabot

Bruno Sabot

@brunosabot

🚀 Front-end Developer, I like React, VueJs, HTML, CSS, Performance and UX. 👨‍💻 Working at PlayPlay 🏡 More at https://t.co/U62LujYjtM

Bordeaux Katılım Mayıs 2009
130 Takip Edilen275 Takipçiler
Bruno Sabot
Bruno Sabot@brunosabot·
Just posted about why I created the Streamline Card for Home Assistant and how it works! My goal? A cleaner, more intuitive HA UI. Check out my thoughts and the card itself here: medium.brunosabot.dev/streamline-you…
English
0
0
0
24
Bruno Sabot
Bruno Sabot@brunosabot·
After my latest blog post about my Home Assistant dashboard, I had a lot of requests on how my weather card could handle a weather sensor. The answer is: custom templates! here is how I created mine: @brunosabot/mastering-complex-templates-in-home-assistant-a-comprehensive-guide-55d07586b4a2" target="_blank" rel="nofollow noopener">medium.com/@brunosabot/ma…
English
0
0
0
45
Bruno Sabot retweetledi
TestMu AI
TestMu AI@testmuai·
Accelerate JavaScript testing with Bruno Sabot's (@brunosabot) Vitest fake timers. Ensure precise timing scenarios and reliable function debouncing for efficient unit testing. (11/16) bit.ly/3zR2Yle
English
1
1
1
46
Bruno Sabot
Bruno Sabot@brunosabot·
New Blog Post! During my lost hours, I love to tweak my home automation system. If I use Home Assistant to build my dashboards, I bring it to another level with Bubble Card. Here's how: @brunosabot/crafting-my-perfect-home-assistant-dashboard-6bc1fc6d47cd" target="_blank" rel="nofollow noopener">medium.com/@brunosabot/cr…
English
0
0
0
51
Bruno Sabot retweetledi
prod42net
prod42net@prod42net·
🕒 Mastering time in testing is crucial for efficient development. @BrunoSabot explains how Vitest's fake timers can speed up tests, isolate functionality, and simulate specific timeouts, ensuring faster and more reliable unit tests. #SoftwareTesting #Viift.tt/R0m1iIJ
English
0
1
1
59
Bruno Sabot
Bruno Sabot@brunosabot·
341 days later, I think I'm back here.
English
0
0
0
104
Bruno Sabot
Bruno Sabot@brunosabot·
`useWhyDidYouUpdate("MyComponent", props);` This hook will let you know from the console the attributes of an object that have been updated, causing rerendering. You should use it to avoid unnecessary renders. #techtweets #day200
Bruno Sabot tweet media
English
0
0
0
0
Bruno Sabot
Bruno Sabot@brunosabot·
When writing JavaScript, you should always pick functions over classes. For the same result, the code generated by Babel with be smaller with functions. #techtweets #day199
Bruno Sabot tweet media
English
0
0
0
0
Bruno Sabot
Bruno Sabot@brunosabot·
You can use intersection types to extends an existing TypeScript type. It is useful to reuse and factorize some pieces of definitions. #techtweets #day198
Bruno Sabot tweet media
English
0
0
1
0
Bruno Sabot
Bruno Sabot@brunosabot·
With ECMAScript 2022, JavaScript now has private fields in classes. You need to prefix an attribute or a method with # to make it private. #techtweets #day197
Bruno Sabot tweet media
English
0
0
0
0
Bruno Sabot
Bruno Sabot@brunosabot·
`git config --global --add --bool push.autoSetupRemote true`, starting Git 2.37.0, will automatically set the up the upstream branch, and will save you from `git push --set-upstream origin feat/awesome-feature` #techtweets #day196
GIF
English
1
1
3
0
Bruno Sabot
Bruno Sabot@brunosabot·
The object-fit CSS property will keep your image with a good ratio and the box will either contain the image perfectly or crop it. #techtweets #day195
Bruno Sabot tweet media
English
0
0
1
0