Ulad Ramanovich
banner
uramanovich.bsky.social
Ulad Ramanovich
@uramanovich.bsky.social
Senior Fullstack Engineer passionate about TypeScript/JavaScript ecosystems.
Sharing pragmatic tech tips & exploring AI-powered development workflows.
Let's build better software together! 🚀
Multiple tabs sending same requests? Been there 🔧

Solution: Leader Election pattern!
- Tabs form a team
- Pick ONE leader tab
- Only leader makes API calls
- If leader closes, new one steps up

Used broadcast-channel lib. Now instead of 5 requests → just 1

#frontend #javascript
January 20, 2025 at 7:50 PM
Multiple tabs sending same requests? Been there 🔧

Solution: Leader Election pattern!
- Tabs form a team
- Pick ONE leader tab
- Only leader makes API calls
- If leader closes, new one steps up

Used broadcast-channel lib. Now instead of 5 requests → just 1

#frontend #javascript
January 20, 2025 at 4:00 PM
1. Choose not so important screen. I chosen language selector view
2. Add hidden button on the bottom
3. Create logic that activate `isDevMode` flag when taped 10 times
4. Show indicator that dev mode enabled

Voilà ✨
December 8, 2024 at 11:05 AM
Just discovered raycast app for mac - perfect tool for window management and running commands 👀

Beautiful UI that lets you run commands without memorizing shortcuts.
Replaced my skhd + yabai setup, and it's as simple as installing from brew.
November 28, 2024 at 9:35 PM