Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up for free
Как да си направим разширение с Реакт и WP REST API
Stanimir Stoyanov
May 11, 2019
Programming
0
74
Как да си направим разширение с Реакт и WP REST API
Stanimir Stoyanov
May 11, 2019
Tweet
Share
More Decks by Stanimir Stoyanov
See All by Stanimir Stoyanov
Headless WordPress – или как да използваме WordPress като бекенд към собствената си уеб апликация.
stoyan0v
0
42
Organizing WordPress Events
stoyan0v
0
44
Working Remotely
stoyan0v
0
170
Other Decks in Programming
See All in Programming
Amazon Lookout for Visionで 筆跡鑑定してみた
cmnakamurashogo
0
180
10Xの検索を10xしたい
metalunk
4
480
FullStack eXchange, July 2022
brucel
0
200
atama plusの開発チームはどのように「不確実性」に向き合ってきたか〜2022夏版〜
atamaplus
3
650
SRE NEXT 2022に学ぶこれからのSREキャリア
fukubaka0825
2
400
回帰分析ではlm()ではなくestimatr::lm_robust()を使おう / TokyoR100
dropout009
0
4.6k
Pluggable Storage in PostgreSQL
sira
1
200
Carp言語さわってみた 〜鯉を取り戻せ編〜
tsin45
0
110
10歳の minne から、これから長く続くプロダクトを作るすべての人へ
tsumichan
9
3.7k
Windows コンテナ Dojo 第5回 OpenShift で学ぶ Kubernetes 入門
oniak3ibm
PRO
0
200
Google I/O 2022 Android関連概要 / Google I/O 2022 Android summary
phicdy
1
420
Pythonによる開発をアップデートするライブラリの紹介
daikikatsuragawa
1
1.3k
Featured
See All Featured
Six Lessons from altMBA
skipperchong
14
1.4k
How New CSS Is Changing Everything About Graphic Design on the Web
jensimmons
213
11k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
237
19k
Documentation Writing (for coders)
carmenintech
48
2.6k
Making the Leap to Tech Lead
cromwellryan
113
7.4k
Design by the Numbers
sachag
271
17k
Put a Button on it: Removing Barriers to Going Fast.
kastner
56
2.3k
The Web Native Designer (August 2011)
paulrobertlloyd
75
2k
Atom: Resistance is Futile
akmur
255
21k
Thoughts on Productivity
jonyablonski
44
2.4k
How STYLIGHT went responsive
nonsquared
85
4k
Designing for Performance
lara
597
64k
Transcript
Как да си направим разширение с Реакт и WP REST
API
За мен WordPress Developer @ SiteGround Core Contributor WordCamp Organizer
Meetup Organizer Plugin Developer Father of two :)
Прост и Лесен за учене Бърз Преизползваеми компоненти State container(Redux)
Защо Реакт? #WCPLD
Прост и лесен за учене #WCPLD
Реакт е бърз! #WCPLD Real DOM Diff Patch Virtual DOM
DOM
#WCPLD Реакт е бърз!
Преизползваеми компоненти #WCPLD
Redux #WCPLD The box organises the state in a single
place
Redux #WCPLD You can ask the box what’s the current
state ?
Redux #WCPLD You can describe a change in the state
to the box
Redux #WCPLD The box will notify when its state changes
Redux #WCPLD Без Redux Компонент, иницииращ промяна С Redux STORE
#WCPLD Създаване на React App facebook.github.io/create-react-app/docs/getting-started
Кога да използваме Реакт? #WCPLD
#WCPLD
WP REST API #WCPLD "The WordPress REST API provides API
endpoints for WordPress data types that allow developers to interact with sites remotely by sending and receiving JSON (JavaScript Object Notation) objects"
example.com/wp-json/siteground-optimizer/v1/optimize-images WP REST API #WCPLD
example.com/wp-json/siteground-optimizer/v1/optimize-images #WCPLD
None
#WCPLD WP REST API
#WCPLD
wp_localize_script()
Да си направим Реакт приложение! #WCPLD
#WCPLD
#WCPLD
#WCPLD
#WCPLD
#WCPLD
#WCPLD
#WCPLD
#WCPLD
None
None