Sharing pragmatic tech tips & exploring AI-powered development workflows.
Let's build better software together! 🚀
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
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
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
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
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à ✨
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à ✨
Beautiful UI that lets you run commands without memorizing shortcuts.
Replaced my skhd + yabai setup, and it's as simple as installing from brew.
Beautiful UI that lets you run commands without memorizing shortcuts.
Replaced my skhd + yabai setup, and it's as simple as installing from brew.