Everything felt overwhelming and unfamiliar.
Everything felt overwhelming and unfamiliar.
whereas the Context API fits local-ish state that doesn’t change frequently and is tied to component lifecycle.
whereas the Context API fits local-ish state that doesn’t change frequently and is tied to component lifecycle.
→ Use .then() / .catch() to handle result
• async/await: Syntactic sugar for Promise
→ Makes async code look like sync
→ Use .then() / .catch() to handle result
• async/await: Syntactic sugar for Promise
→ Makes async code look like sync
• Learned that MediaRecorder is a Web API used for recording screen, mic, or system audio.
• It outputs data in chunks, typically with MIME type video/webm, which is a container format for video/audio streams.
• Learned that MediaRecorder is a Web API used for recording screen, mic, or system audio.
• It outputs data in chunks, typically with MIME type video/webm, which is a container format for video/audio streams.
• Managed connection via a global WebSocket provider
• Unified message format: type + payload
• Modular handlers: onopen, onmessage, etc.
• Separated UI from WebSocket logic for better maintainability
• Auto-reconnect coming next
#Electron #WebSocket #DevLog #TIL
• Managed connection via a global WebSocket provider
• Unified message format: type + payload
• Modular handlers: onopen, onmessage, etc.
• Separated UI from WebSocket logic for better maintainability
• Auto-reconnect coming next
#Electron #WebSocket #DevLog #TIL
- UseRef + debounce is a reliable pattern for autosave.
- Avoid calling mutate directly in onChange when state isn’t synced yet.
- UseRef + debounce is a reliable pattern for autosave.
- Avoid calling mutate directly in onChange when state isn’t synced yet.
It made me realize how much my past experience with editing is paying off now.
I also learned how to better prepare videos specifically for Google reviews, which was a useful insight.
It made me realize how much my past experience with editing is paying off now.
I also learned how to better prepare videos specifically for Google reviews, which was a useful insight.
I started thinking more deeply about the tasks I’m responsible for — what I expected in terms of time and effort, and how long it actually took.
I started thinking more deeply about the tasks I’m responsible for — what I expected in terms of time and effort, and how long it actually took.
It reminded me of when I worked on a similar document back in university — I realized that the overall structure and approach haven’t changed much, though I can now appreciate the details more.
It reminded me of when I worked on a similar document back in university — I realized that the overall structure and approach haven’t changed much, though I can now appreciate the details more.