Biggest source of bugs in your experience?
😅 Async/await mistakes
🤦 Null/undefined errors
💀 State management
🤯 Third-party library updates
Vote + explain in the replies 👇 #SammyDev#DevPoll#SammyDev#Programming#WebDev
Backend tip: always return consistent error shapes from your API.
{ success: false, code: 'NOT_FOUND', message: '...' }
Your frontend team (which is also you at 11pm) will love you for it. 🙏 #NodeJS#BackendDev#BackendDev#API#SammyDev#NodeJS
First freelance client paid me $150 for a website that took me 3 weeks.
Now I charge 100x that.
The jump wasn't skills — it was confidence, proof of work, and learning to say no to lowball offers. 💰 #SammyDev#Freelance#SammyDev#DevJourney#WebDev
CSS tip: use gap instead of margin on flex/grid children.
Gap doesn't affect the outer edges. Margin does.
display: flex; gap: 16px is cleaner than adding margin to every child. 🎯 #CSS#SammyDev#CSS#Frontend#SammyDev#WebDev
🧵The 5-layer architecture I use for every Express API:
1. Routes- just routing, nothing else
2. Controllers- handle req/res
3. Services- business logic lives here
4. Repositories- all DB queries
5. Models- Prisma/Mongoose schemas
Separation of concerns = survives team growth.
Use console.table() instead of console.log() for arrays of objects.
Instantly readable. No more squinting at nested {}.
Small win that saves brain cycles every day. 🧠 #JavaScript#SammyDev#JavaScript#DevTips#SammyDev#WebDev
Interviewer: Where do you see yourself in 5 years?
Me: Fixing the same CSS centering bug I've been fixing for 10 years, just in a different framework.
#DevHumor#SammyDev#CSS#DevHumor#SammyDev#WebDev
Started a new side project today — a dev productivity tool that tracks your focus sessions per task.
Building it fully in the open. Stack: Next.js + Supabase + Expo.
Watch this space. 👀 #SammyDev#BuildInPublic#BuildInPublic#SammyDev#NextJS#Supabase
Learned this the hard way: never store sensitive data in AsyncStorage (React Native).
It's unencrypted. Use expo-secure-store or react-native-keychain for tokens, passwords, secrets.
Security first. Always. 🔐
#ReactNative#MobileSecurity#SammyDev#AppDev
TypeScript tip: use satisfies operator instead of as when you want type-checking without widening.
const config = { port: 3000 } satisfies ServerConfig
Catch errors at definition, not at usage. #TypeScript#SammyDev#TypeScript#JavaScript#SammyDev#WebDev
🧵 React Native performance checklist before shipping:
-Remove all console.log in prod
-Use FlatList not ScrollView for lists
-Memoize heavy components
-Use Hermes engine
-Reduce bridge calls
-Optimize images
-Lazy load screens
Do this. Ship fast apps.
#ReactNative#AppDev
🧵 React Native performance checklist before shipping:
-Remove all console.log in prod
-Use FlatList not ScrollView for lists
-Memoize heavy components
-Use Hermes engine
-Reduce bridge calls
-Optimize images
-Lazy load screens
Do this. Ship fast apps.
#ReactNative#AppDev