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
Modding RubyKaigi for Myself
yui_knk
0
840
New "Type" system on PicoRuby
pocke
1
400
生成AI時代にこそ効くGo | Why Go Works in the Age of Generative AI
mom0tomo
8
3k
Transactional Change Stream Processing With Debezium and Apache Flink
gunnarmorling
1
140
TypeSpec で繋ぐ複数プロダクトの型安全
maroon8021
1
270
権限チェックの一貫性を型で守る TypeScript による多層防御
mnch
4
1k
さぁV100、メモリをお食べ・・・
nilpe
0
120
誰も頼んでない機能を出荷した話
zekutax
0
150
oxlintはeslint/typescript-eslintを置き換えられるのか
shomafujita
2
290
開発体験を左右するライブラリの API 設計 - GraphQL スキーマ構築ライブラリから考える #tskaigi
izumin5210
2
1.5k
密結合なバックエンドから TypeScript のコードを生成する
kemuridama
1
420
CLIであることを活かしたGitHub Copilot CLI活用術 / GitHub Copilot CLI Pro Tips & Tricks
nao_mk2
1
1.2k
Featured
See All Featured
Become a Pro
speakerdeck
PRO
31
6k
Designing Powerful Visuals for Engaging Learning
tmiket
1
390
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
350
Rebuilding a faster, lazier Slack
samanthasiow
85
9.5k
Building an army of robots
kneath
306
46k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
1.9k
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
260
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.2k
Paper Plane (Part 1)
katiecoart
PRO
0
8.1k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.1k
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
150
Marketing to machines
jonoalderson
1
5.3k
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