Flavien (56kode)
56kode.bsky.social
Flavien (56kode)
@56kode.bsky.social
Frontend developer specializing in all things #React, #TS, and #JS
My posts : https://www.56kode.com/
Lost in your codebase? 🤯 Cursor's screenshot search feature is a game-changer! Just paste a UI screenshot and it finds the corresponding file for you. Saves so much time! #Cursor
July 17, 2025 at 1:34 PM
There's nothing better than full remote work.
April 28, 2025 at 9:36 AM
Your React.memo component keeps re-rendering?

Check the children.

JSX passed inline is recreated every render → breaks memo.

✅ Solution: memoize children with useMemo,
or don’t memoize at all if it’s not worth it.

Code ⬇️
April 10, 2025 at 2:32 PM
🎯 100% test coverage... but 0% value!

Perfectly covered code ✅
Results never verified ❌

Look at this image: a test that executes all code without testing anything.
Coverage measures execution, not quality.

What are you actually measuring in your team? #testing #js #vitest #jest
February 28, 2025 at 1:32 PM
🚫 Stop writing complex conditions in JavaScript!
Name them properly, make them reusable, and your code will thank you later.
Cleaner code is just a function away. ✨ #cleancode #js #javascript
February 14, 2025 at 11:09 AM
February 14, 2025 at 9:55 AM
🚫 The danger of modifying native prototypes in #javascript
Don't pollute the global scope! Create pure functions instead:

- prevents conflicts
- better performance
- easier debugging

Full article: dev.to/56_kode/avoi... #cleancode
January 31, 2025 at 3:10 PM
🧹 Clean Code Tip: Avoid Mutations!

Never modify your data directly - always create new copies. Mutations can lead to unpredictable bugs and make your code harder to debug.

Learn more about handling immutable data properly: dev.to/56_kode/clea... #js #cleancode #javascript
January 17, 2025 at 11:37 AM
🧵 Clean Code Tip: Avoid Side Effects!
Functions should be predictable - they take inputs and return outputs. Modifying global state? That's a side effect. Keep your functions pure and centralize necessary side effects in dedicated services. #cleancode #js #javascript
January 10, 2025 at 2:00 PM
🚀 Clean Code Tip: Boolean flags in function parameters are a code smell! They signal your function is doing too many things at once. Keep it clean: one function, one responsibility. Example attached below ⬇️ #CleanCode #js #javascript #ts #typescript
December 3, 2024 at 4:06 PM