Tonye Onuoha's Posts | Contra
Posts by Tonye Onuoha
Sign Up
Post a job
Sign Up
Log In
pro
Tonye Onuoha
Full-Stack Web & Mobile Developer
Get in touch
Follow
New to Contra
Tonye is ready for their next project!
Port Harcourt, Nigeria
Work
Posts
Services
About
Port Harcourt, Nigeria
Recent
Trending
Tonye Onuoha
pro
•
15h
💡 𝗧𝗶𝗽 𝗼𝗳 𝘁𝗵𝗲 𝗗𝗮𝘆 — 𝗥𝗲𝗮𝗰𝘁 𝗡𝗮𝘁𝗶𝘃𝗲
𝗗𝗶𝗱 𝘆𝗼𝘂 𝗸𝗻𝗼𝘄? Using "useFocusEffect" from "@react-navigation/native" is often better than "useEffect" when you're dealing with screen-specific logic in React Navigation.
"useEffect runs" when the component mounts...
Show more
Expo
React Native
mobile
5
5
1
1
Tonye Onuoha
pro
•
Feb 21
💡 𝗧𝗶𝗽 𝗼𝗳 𝘁𝗵𝗲 𝗗𝗮𝘆 — 𝗥𝗲𝗮𝗰𝘁 𝗡𝗮𝘁𝗶𝘃𝗲 (𝗘𝘅𝗽𝗼)
𝗗𝗶𝗱 𝘆𝗼𝘂 𝗸𝗻𝗼𝘄?
You can dramatically speed up your mobile builds by enabling Expo’s EAS Build cache.
With the build cache turned on, Expo reuses previously compiled native code, meaning your subsequent builds...
Show more
Expo
React Native
mobile
1
1
Tonye Onuoha
pro
•
Feb 20
💡 𝗧𝗶𝗽 𝗼𝗳 𝘁𝗵𝗲 𝗗𝗮𝘆 — 𝗥𝗲𝗮𝗰𝘁
𝗗𝗶𝗱 𝘆𝗼𝘂 𝗸𝗻𝗼𝘄?
Using "useMemo" to cache expensive calculations can noticeably improve performance — but using it for simple values can actually slow your app down.
"useMemo" itself has a small cost, so it's most effective when:
-...
Show more
Frontend Development
React
JavaScript
0
0
Tonye Onuoha
pro
•
Feb 19
💡 𝗧𝗶𝗽 𝗼𝗳 𝘁𝗵𝗲 𝗗𝗮𝘆 — 𝗗𝗷𝗮𝗻𝗴𝗼 ⚡
Slow Django app? It’s often your queries, not Django.
Use "select_related()" for foreign keys and "prefetch_related()" for M2M to avoid N+1 queries and massively boost performance 🚀
Small ORM tweaks = faster APIs + happier users 😌
#Backend #WebDev #Performance
Django
Python
backenddeveloper
1
1
Tonye Onuoha
pro
•
Feb 19
💡 Tip of the Day — Expo 🚀
𝗟𝗲𝘃𝗲𝗿𝗮𝗴𝗲 𝗘𝘅𝗽𝗼’𝘀 𝗢𝗧𝗔 (𝗢𝘃𝗲𝗿-𝘁𝗵𝗲-𝗔𝗶𝗿) 𝗨𝗽𝗱𝗮𝘁𝗲𝘀 𝘁𝗼 𝘀𝗵𝗶𝗽 𝗳𝗶𝘅𝗲𝘀 𝗶𝗻𝘀𝘁𝗮𝗻𝘁𝗹𝘆.
With Expo Updates, you can push JS/UI changes without waiting for App Store / Play Store approval.
⚡ Faster bug fixes ⚡ Rapid...
Show more
Expo
React Native
mobile
1
1