Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
React With Offline First
Search
R AdySurya A
July 16, 2019
Programming
130
2
Share
React With Offline First
R AdySurya A
July 16, 2019
More Decks by R AdySurya A
See All by R AdySurya A
WCJKT2019 - Audit Performance Workshop
ri7nz
1
56
Image Generator On The Sky
ri7nz
1
48
Other Decks in Programming
See All in Programming
Laravel Nightwatchの裏側 - Laravel公式Observabilityツールを支える設計と実装
avosalmon
1
320
Codex CLI でつくる、Issue から merge までの開発フロー
amata1219
0
330
[PHPerKaigi 2026]PHPerKaigi2025の企画CodeGolfが最高すぎて社内で内製して半年運営して得た内製と運営の知見
ikezoemakoto
0
340
メッセージングを利用して時間的結合を分離しよう #phperkaigi
kajitack
3
570
Symfonyの特性(設計思想)を手軽に活かす特性(trait)
ickx
0
130
L’IA au service des devs : Anatomie d'un assistant de Code Review
toham
0
220
Radical Imagining - LIFT 2025-2027 Policy Agenda
lift1998
0
250
見せてもらおうか、 OpenSearchの性能とやらを!
shunta27
1
180
Redox OS でのネームスペース管理と chroot の実現
isanethen
0
550
今年もTECHSCOREブログを書き続けます!
hiraoku101
0
230
Don't Prompt Harder, Structure Better
kitasuke
0
630
実践CRDT
tamadeveloper
0
400
Featured
See All Featured
From π to Pie charts
rasagy
0
160
Designing for Timeless Needs
cassininazir
0
190
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.2k
Mind Mapping
helmedeiros
PRO
1
150
My Coaching Mixtape
mlcsv
0
96
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.6k
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
510
Why Our Code Smells
bkeepers
PRO
340
58k
Embracing the Ebb and Flow
colly
88
5k
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
1
1.2k
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
300
Technical Leadership for Architectural Decision Making
baasie
3
320
Transcript
React Offline First @ri7nz
- R AdySurya A @ri7nz Background ♂ - Interested about
Modern Web Technology & useReact. - Start the journey as Front end since 2018 - present.
- Introducing to Offline First ♻. What this talk is
♂ - Why React ⚛ ?. - Introducing to PouchDB.
Offline first is a way of building applications where having
network connectivity is an enhancement, not a necessity. Introducing Offline First
- Reliable application but no reliable Network. Why offline first?
- Look like Native Apps. - Faster User Experience, both offline or online (*optional).
How? Static Dynamic WEB Apps Resources Static Resources: • HTML
• CSS • JS • Fonts • Image / Media Dynamic Resources: • Data
Data Web Application User, Browser, & Device Modern Web Architecture
Client Side Rendering
None
If you need Synchronize the Database across devices CouchDB
- Database in your browser - Can synchronize database in
server that implements CouchDB replication Protocol - Asynchronous Introducing PouchDB
Example Data in the Browser
Source : https://www.html5rocks.com/en/tutorials/offline/quota-research/ Quota WebStorage / IndexDB
Why React ⚛ - CRA for make SPA (Single Page
Application). - Flexible. - Have many library.
Showcase https://canary.nadya.app/
Example Code
Example Code src/services/subscription.js src/fragments/Shell.js https://git.io/nadya
React-pouchDB https://www.npmjs.com/package/react-pouchdb
Conclusion - We can Focus just in Frontend (Client Side)
- We can build for fast development - Make user Happy ❤
Happy Reacting! @ri7nz