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
2
130
React With Offline First
R AdySurya A
July 16, 2019
Tweet
Share
More Decks by R AdySurya A
See All by R AdySurya A
WCJKT2019 - Audit Performance Workshop
ri7nz
1
53
Image Generator On The Sky
ri7nz
1
47
Other Decks in Programming
See All in Programming
MDN Web Docs に日本語翻訳でコントリビュート
ohmori_yusuke
0
650
CSC307 Lecture 04
javiergs
PRO
0
660
今から始めるClaude Code超入門
448jp
8
8.6k
HTTPプロトコル正しく理解していますか? 〜かわいい猫と共に学ぼう。ฅ^•ω•^ฅ ニャ〜
hekuchan
2
680
CSC307 Lecture 08
javiergs
PRO
0
670
SourceGeneratorのススメ
htkym
0
190
カスタマーサクセス業務を変革したヘルススコアの実現と学び
_hummer0724
0
690
AI Agent の開発と運用を支える Durable Execution #AgentsInProd
izumin5210
7
2.3k
CSC307 Lecture 02
javiergs
PRO
1
780
AI時代の認知負荷との向き合い方
optfit
0
160
izumin5210のプロポーザルのネタ探し #tskaigi_msup
izumin5210
1
110
なるべく楽してバックエンドに型をつけたい!(楽とは言ってない)
hibiki_cube
0
140
Featured
See All Featured
A designer walks into a library…
pauljervisheath
210
24k
Visualization
eitanlees
150
17k
Crafting Experiences
bethany
1
48
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2k
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
150
Rebuilding a faster, lazier Slack
samanthasiow
85
9.4k
KATA
mclloyd
PRO
34
15k
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
110
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
350
What does AI have to do with Human Rights?
axbom
PRO
0
2k
Building an army of robots
kneath
306
46k
Unsuck your backbone
ammeep
671
58k
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