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
Как да си направим разширение с Реакт и WP REST...
Search
Stanimir Stoyanov
May 11, 2019
Programming
0
140
Как да си направим разширение с Реакт и 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
84
Organizing WordPress Events
stoyan0v
0
55
Working Remotely
stoyan0v
0
260
Other Decks in Programming
See All in Programming
複雑な仕様に立ち向かうアーキテクチャ
myohei
0
170
range over funcの使い道と非同期N+1リゾルバーの夢 / about a range over func
mackee
0
110
「Chatwork」Android版アプリを 支える単体テストの現在
okuzawats
0
180
rails statsで大解剖 🔍 “B/43流” のRailsの育て方を歴史とともに振り返ります
shoheimitani
2
930
今年一番支援させていただいたのは認証系サービスでした
satoshi256kbyte
1
250
良いユニットテストを書こう
mototakatsu
4
1.6k
Асинхронность неизбежна: как мы проектировали сервис уведомлений
lamodatech
0
630
HTTP compression in PHP and Symfony apps
dunglas
2
1.7k
htmxって知っていますか?次世代のHTML
hiro_ghap1
0
330
menu基盤チームによるGoogle Cloudの活用事例~Application Integration, Cloud Tasks編~
yoshifumi_ishikura
0
110
As an Engineers, let's build the CRM system via LINE Official Account 2.0
clonn
1
670
フロントエンドのディレクトリ構成どうしてる? Feature-Sliced Design 導入体験談
osakatechlab
8
4.1k
Featured
See All Featured
Agile that works and the tools we love
rasmusluckow
328
21k
How to Think Like a Performance Engineer
csswizardry
22
1.2k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
33
1.9k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
226
22k
VelocityConf: Rendering Performance Case Studies
addyosmani
326
24k
Why You Should Never Use an ORM
jnunemaker
PRO
54
9.1k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
159
15k
Rails Girls Zürich Keynote
gr2m
94
13k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
0
94
A better future with KSS
kneath
238
17k
Intergalactic Javascript Robots from Outer Space
tanoku
270
27k
It's Worth the Effort
3n
183
28k
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