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
180
0
Share
Как да си направим разширение с Реакт и WP REST API
Stanimir Stoyanov
May 11, 2019
More Decks by Stanimir Stoyanov
See All by Stanimir Stoyanov
Headless WordPress – или как да използваме WordPress като бекенд към собствената си уеб апликация.
stoyan0v
0
160
Organizing WordPress Events
stoyan0v
0
68
Working Remotely
stoyan0v
0
300
Other Decks in Programming
See All in Programming
TypeScriptだけでAIエージェントを作る フロント・エージェント・インフラのフルスタック実践
har1101
6
1k
Lemonade + Foundry Toolkit でお手軽アプリ開発
seosoft
1
130
AI時代だからこそ「Bloc」を採用する価値があるのかもしれない
takuroabe
0
240
横断組織出身のQAEがインプロセスQAEでつまずいたこと・活かせたこと
ty89
0
180
RTSPクライアントを自作してみた話
simotin13
0
160
次世代リンターで探る、tsgo 時代における型認識カスタムルールの現実解
ytakahashii
1
990
誰も頼んでない機能を出荷した話
zekutax
0
140
~ 秘伝のタレ化した『神スプシ』と戦う ~ 関数型パラダイムで壊れない仕組みへ
h0r15h0
1
130
プロパティの順序で型推論が壊れる!? TypeScript6.0の修正からContext-Sensitivityの仕組みを追う
bicstone
2
1k
Oxlintはいかにしてtsgolintのlint ruleを呼び出しているのか
syumai
1
500
気づいたらRubyで100作品 ー クリエイティブコーディングが生活の一部になるまで / 100 Ruby Sketches Later: How Creative Coding Became Part of My Life
chobishiba
1
140
密結合なバックエンドから TypeScript のコードを生成する
kemuridama
1
350
Featured
See All Featured
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
Discover your Explorer Soul
emna__ayadi
2
1.1k
Navigating Team Friction
lara
192
16k
Ruling the World: When Life Gets Gamed
codingconduct
0
240
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
140
Bootstrapping a Software Product
garrettdimon
PRO
307
120k
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
570
Imperfection Machines: The Place of Print at Facebook
scottboms
270
14k
The Art of Programming - Codeland 2020
erikaheidi
57
14k
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
240
Java REST API Framework Comparison - PWX 2021
mraible
34
9.3k
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
0
360
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