Skip to content

Instantly share code, notes, and snippets.

View gopiborra's full-sized avatar

Gopi Borra gopiborra

  • The New York Times
  • USA
  • 11:04 (UTC -05:00)
View GitHub Profile
@shadow7
shadow7 / SavedManager-Architecture.md
Created February 19, 2026 17:01
SavedManager Architecture: Room as Single Source of Truth

SavedManager Architecture Documentation

Executive Summary

This document defines the optimal architecture for saved articles sync and display in android-phoenix, addressing parallel batch downloading, Room persistence, Kotlin coroutines state management, and Compose loading patterns across multiple cache layers.


Flow Charts

@bvaughn
bvaughn / react-lifecycle-cheatsheet.md
Last active July 12, 2026 14:01
React lifecycle cheatsheet

React lifecycle cheatsheet

Method Side effects1 State updates2 Example uses
Mounting
componentWillMount ✓ Constructor equivalent for createClass
render Create and return element(s)
componentDidMount ✓ ✓ DOM manipulations, network requests, etc.
Updating
componentWillReceiveProps ✓ Update state based on changed props