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
160
Как да си направим разширение с Реакт и 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
130
Organizing WordPress Events
stoyan0v
0
58
Working Remotely
stoyan0v
0
280
Other Decks in Programming
See All in Programming
Writing Better Go: Lessons from 10 Code Reviews
konradreiche
0
1.3k
Go Conference 2025: Goで体感するMultipath TCP ― Go 1.24 時代の MPTCP Listener を理解する
takehaya
9
1.7k
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
350
Railsだからできる 例外業務に禍根を残さない 設定設計パターン
ei_ei_eiichi
0
900
kiroとCodexで最高のSpec駆動開発を!!数時間で web3ネイティブなミニゲームを作ってみたよ!
mashharuki
0
480
詳しくない分野でのVibe Codingで困ったことと学び/vibe-coding-in-unfamiliar-area
shibayu36
3
5k
Flutterで分数(Fraction)を表示する方法
koukimiura
0
130
monorepo の Go テストをはやくした〜い!~最小の依存解決への道のり~ / faster-testing-of-monorepos
convto
2
490
Leading Effective Engineering Teams in the AI Era
addyosmani
5
430
Range on Rails ―「多重範囲型」という新たな選択肢が、複雑ロジックを劇的にシンプルにしたワケ
rizap_tech
0
1.3k
CSC305 Lecture 06
javiergs
PRO
0
230
Domain-centric? Why Hexagonal, Onion, and Clean Architecture Are Answers to the Wrong Question
olivergierke
2
870
Featured
See All Featured
Thoughts on Productivity
jonyablonski
70
4.9k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
285
14k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
23
1.5k
How GitHub (no longer) Works
holman
315
140k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
359
30k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.5k
Build The Right Thing And Hit Your Dates
maggiecrowley
37
2.9k
Making the Leap to Tech Lead
cromwellryan
135
9.6k
Embracing the Ebb and Flow
colly
88
4.8k
Stop Working from a Prison Cell
hatefulcrawdad
271
21k
Rebuilding a faster, lazier Slack
samanthasiow
84
9.2k
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