Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Meet StoreX Paging

Sponsored · Your Podcast. Everywhere. Effortlessly. Share. Educate. Inspire. Entertain. You do you. We'll handle the rest. →
Avatar for Matt Matt
July 07, 2024

Meet StoreX Paging

Droidcon SF 2024

Avatar for Matt

Matt

July 07, 2024

Other Decks in Technology

Transcript

  1. • UDF-first design • New concept of a “self-updating item”

    • Operation pipelines for data transformations • Support for local and remote mutations • Lots of customization points: launch effects, middleware, side effects, eager loading strategies, fetching strategies, error handling strategies • Compatible with AndroidX Paging (our builder can take in an AndroidX PagingSource) • All major Kotlin targets • Powered by Compose (runtime), Molecule, and Store Meet StoreX Paging
  2. • UDF-first design • New concept of a “self-updating item”

    • Operation pipelines for data transformations • Support for local and remote mutations • Lots of customization points: launch effects, middleware, side effects, eager loading strategies, fetching strategies, error handling strategies • Compatible with AndroidX Paging (our builder can take in an AndroidX PagingSource) • All major Kotlin targets • Powered by Compose (runtime), Molecule, and Store Meet StoreX Paging
  3. • UDF-first design • New concept of a “self-updating item”

    • Operation pipelines for data transformations • Support for local and remote mutations • Lots of customization points: launch effects, middleware, side effects, eager loading strategies, fetching strategies, error handling strategies • Compatible with AndroidX Paging (our builder can take in an AndroidX PagingSource) • All major Kotlin targets • Powered by Compose (runtime), Molecule, and Store Meet StoreX Paging
  4. • UDF-first design • New concept of a “self-updating item”

    • Operation pipelines for data transformations • Support for local and remote mutations • Lots of customization points: launch effects, middleware, side effects, eager loading strategies, fetching strategies, error handling strategies • Compatible with AndroidX Paging (our builder can take in an AndroidX PagingSource) • All major Kotlin targets • Powered by Compose (runtime), Molecule, and Store Meet StoreX Paging
  5. • UDF-first design • New concept of a “self-updating item”

    • Operation pipelines for data transformations • Support for local and remote mutations • Lots of customization points: launch effects, middleware, side effects, eager loading strategies, fetching strategies, error handling strategies • Compatible with AndroidX Paging (our builder can take in an AndroidX PagingSource) • All major Kotlin targets • Powered by Compose (runtime), Molecule, and Store Meet StoreX Paging
  6. • UDF-first design • New concept of a “self-updating item”

    • Operation pipelines for data transformations • Support for local and remote mutations • Lots of customization points: launch effects, middleware, side effects, eager loading strategies, fetching strategies, error handling strategies • Compatible with AndroidX Paging (our builder can take in an AndroidX PagingSource) • All major Kotlin targets • Powered by Compose (runtime), Molecule, and Store Meet StoreX Paging
  7. • UDF-first design • New concept of a “self-updating item”

    • Operation pipelines for data transformations • Support for local and remote mutations • Lots of customization points: launch effects, middleware, side effects, eager loading strategies, fetching strategies, error handling strategies • Compatible with AndroidX Paging (our builder can take in an AndroidX PagingSource) • All major Kotlin targets • Powered by Compose (runtime), Molecule, and Store Meet StoreX Paging
  8. • UDF-first design • New concept of a “self-updating item”

    • Operation pipelines for data transformations • Support for local and remote mutations • Lots of customization points: launch effects, middleware, side effects, eager loading strategies, fetching strategies, error handling strategies • Compatible with AndroidX Paging (our builder can take in an AndroidX PagingSource) • All major Kotlin targets • Powered by Compose (runtime), Molecule, and Store Meet StoreX Paging
  9. The essence of Molecule • Taking the Compose engine, turning

    it on, and having it emit new values into a state flow for consumption. • Compose handles recording values, and if it decides your function needs to be recomposed, it handles recomposing and emitting the new value. • “The use cases are really only limited by your imagination” - Jake Wharton https://www.youtube.com/watch?v=O70beCWbSCY
  10. Self updating item • Self-updating item -> makes item-level state

    management possible -> means we don’t need to invalidate the list or pass the update down the UI tree