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
AIと人間の共創開発!OSSで試行錯誤した開発スタイル
mae616
2
850
Pythonに漸進的に型をつける
nealle
1
140
フロントエンド開発のためのブラウザ組み込みAI入門
masashi
7
3.6k
TFLintカスタムプラグインで始める Terraformコード品質管理
bells17
2
510
ALL CODE BASE ARE BELONG TO STUDY
uzulla
28
6.9k
コードとあなたと私の距離 / The Distance Between Code, You, and I
hiro_y
0
210
AI時代に必須!状況言語化スキル / ai-context-verbalization
minodriven
2
270
オープンソースソフトウェアへの解像度🔬
utam0k
18
3.2k
Swift Concurrency 年表クイズ
omochi
3
210
はじめてのDSPy - 言語モデルを『プロンプト』ではなく『プログラミング』するための仕組み
masahiro_nishimi
4
17k
開発組織の戦略的な役割と 設計スキル向上の効果
masuda220
PRO
10
2k
ドメイン駆動設計のエッセンス
masuda220
PRO
15
7k
Featured
See All Featured
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.2k
Statistics for Hackers
jakevdp
799
220k
The Language of Interfaces
destraynor
162
25k
RailsConf 2023
tenderlove
30
1.3k
How To Stay Up To Date on Web Technology
chriscoyier
791
250k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
132
19k
Faster Mobile Websites
deanohume
310
31k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
253
22k
Context Engineering - Making Every Token Count
addyosmani
8
330
4 Signs Your Business is Dying
shpigford
186
22k
Balancing Empowerment & Direction
lara
5
710
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