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
49
Other Decks in Programming
See All in Programming
AI駆動開発で崩れていくコードベースを立て直す
kyoko_nr_nr
1
400
GitHub Copilot CLIのいいところ
htkym
2
1.2k
関係性から理解する"同一性"の型用語たち
pvcresin
2
620
AI駆動開発勉強会 広島支部 第一回勉強会 AI駆動開発概要とワークショップ
hayatoshimiu
0
420
CSC307 Lecture 17
javiergs
PRO
0
310
Copilot CLI の継戦能力を高める コンテキスト管理
nozomutu
1
1.1k
3Dシーンの圧縮
fadis
1
560
次世代リンターで探る、tsgo 時代における型認識カスタムルールの現実解
ytakahashii
3
1.4k
Why Laravel apps break—Mastering the fundamentals to keep them maintainable
kentaroutakeda
1
330
ECR拡張スキャンでSBOMを収集して サプライチェーン攻撃の影響調査を 爆速で終わらせてみた
akihisaikeda
2
210
inferと仲良くなる10分間
ryokatsuse
1
290
Moments When Things Go Wrong
aurimas
3
130
Featured
See All Featured
Done Done
chrislema
186
16k
Fireside Chat
paigeccino
42
3.9k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
2.9k
Information Architects: The Missing Link in Design Systems
soysaucechin
0
950
A Soul's Torment
seathinner
6
2.9k
A designer walks into a library…
pauljervisheath
211
24k
The agentic SEO stack - context over prompts
schlessera
0
790
Measuring & Analyzing Core Web Vitals
bluesmoon
9
850
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
810
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
2.9k
Reflections from 52 weeks, 52 projects
jeffersonlam
356
21k
Building a Scalable Design System with Sketch
lauravandoore
463
34k
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