Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
JS@PayPal - Specialization with Dynamic React F...
Search
Bruno Sanches
September 23, 2016
Programming
120
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
JS@PayPal - Specialization with Dynamic React Forms
Bruno Sanches
September 23, 2016
Other Decks in Programming
See All in Programming
Event is what happens
moro
2
4.1k
Будущее локальных LLM – Алексей Голобурдин, PythoNN
sobolevn
0
120
エージェントを使い続けるためのメタワーク / Meta-work for keeping using the agent
rkaga
6
2.3k
社内AIエージェント「Askワンバン」における コストチューニングの取り組み
t0yohei
0
170
高橋メソッドでCVE解説シリーズ 〜CVE-2026-112816〜
hakkadaikon
0
240
S3 TablesのIcebergデータに、AIエージェントからアクセスしてみた / 20261016developersio2026joetsu-accessing-iceberg-in-s3tables-via-agent
kasacchiful
PRO
0
300
Optunaを作ったときにやりたかったこと、その後 (2026/10/16, Optuna Meetup #3)
iwiwi
4
1.5k
オーケストレーション記述言語 Katari
yukikurage
0
250
當我們開始不讀 Code - AI Agent 時代,Code Review 與 Clean Code 還剩下什麼?
jame2408
1
370
Goコンパイラを作ってGoをもっと理解する / Build a Go compiler to better understand Go
ikura_hamu
0
130
AI時代のTerminal環境を UNIX哲学で設計・運用する
yasunori0418
1
350
AIが生成したコードは読むべきか?抽象化設計とコードの品質保証 / abstraction-design-and-quality
minodriven
16
8.9k
Featured
See All Featured
A Modern Web Designer's Workflow
chriscoyier
699
190k
Designing for Performance
lara
612
70k
Designing for humans not robots
tammielis
254
26k
Building an army of robots
kneath
307
47k
Fireside Chat
paigeccino
43
4.1k
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
400
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
330
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
610
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.9k
The Cost Of JavaScript in 2023
addyosmani
56
10k
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
6
1.3k
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
1
600
Transcript
Specialization with dynamic React forms
@brunopsanches Bruno Sanches
Scaling merchant onboarding Lessons and updates Usability tests Current status
Scaling merchant onboarding Lessons and updates Usability tests Current status
page1.dust email.dust email.js email.css name.dust name.js name.css address.dust address.js address.css
page1.js page1.css
Flow
Default flow Team 1 Group flow 1 Flow 1.1 Flow
1.2 Team 2 Group flow 2 Flow 2.1 Flow 2.2 Team 3 Flow 3 Team 4 Flow 4
Scaling merchant onboarding Lessons and updates Usability tests Current status
Rewrite
Rewrite Client && Server side
Rewrite Client && Server side F0 && Named Hooks
Rewrite Client && Server side F0 && Named Hooks React
forms && Specialization
React forms
Minimize client side code Flexibility++ Built for open source
None
None
None
None
None
None
None
None
Okay, that’s a lot of
None
"email": { "component": "TextInput", "validations": [ "required", "emailCheck" ], "attributes":
{ "title": "email.title", "placeholder": "email.placeholder", "name": "email" }, "wrapperAttributes": { "className": "col-md-12" } }
"email": { "component": "TextInput", "validations": [ "required", "emailCheck" ], "attributes":
{ "title": "email.title", "placeholder": "email.placeholder", "name": "email" }, "wrapperAttributes": { "className": "col-md-12" } }
"email": { "component": "TextInput", "validations": [ "required", "emailCheck" ], "attributes":
{ "title": "email.title", "placeholder": "email.placeholder", "name": "email" }, "wrapperAttributes": { "className": "col-md-12" } }
"email": { "component": "TextInput", "validations": [ "required", "emailCheck" ], "attributes":
{ "title": "email.title", "placeholder": "email.placeholder", "name": "email" }, "wrapperAttributes": { "className": "col-md-12" } }
"email": { "component": "TextInput", "validations": [ "required", "emailCheck" ], "attributes":
{ "title": "email.title", "placeholder": "email.placeholder", "name": "email" }, "wrapperAttributes": { "className": "col-md-12" } }
None
None
Rewrite Client && Server side F0 && Named Hooks React
forms && Specialization
Specialization On the server side Eliminate if (country === 'US')
statements
if (country === 'US') { }
if (country === 'US') { if (product === 'product1') {
} }
if (country === 'US') { if (product === 'product1') {
} else if (product === 'product2') { } }
if (country === 'US') { if (product === 'product1') {
} else if (product === 'product2') { } } else if (group === 'EU') { }
if (country === 'US') { if (product === 'product1') {
} else if (product === 'product2') { } } else if (group === 'EU') { if (country === 'GB') { } }
if (country === 'US') { if (product === 'product1') {
} else if (product === 'product2') { } } else if (group === 'EU') { if (country === 'GB') { if (product === 'product1') { } } }
if (country === 'US') { if (product === 'product1') {
} else if (product === 'product2') { } } else if (group === 'EU') { if (country === 'GB') { if (product === 'product1') { if (experiment === 'exp1') { } } } }
None
None
Named Hooks to the rescue Isolates business logic
Named Hooks to the rescue Isolates business logic Open source
module https://github.com/brunops/named-hooks
Demo
1. Load base form 2. Resolve abstractions 3. Call hooks
4. Render
[ 'hookName', 'hookName_Group', 'hookName_Prod', 'hookName_Country', 'hookName_Country_Prod', 'hookName_Exp', 'hookName_Country_Exp', 'hookName_Country_Prod_Exp' ]
[ 'preRenderForm', 'preRenderForm_Group', 'preRenderForm_Prod', 'preRenderForm_Country', 'preRenderForm_Country_Prod', 'preRenderForm_Exp', 'preRenderForm_Country_Exp', 'preRenderForm_Country_Prod_Exp' ]
[ 'preRenderForm', 'preRenderForm_EU', 'preRenderForm_prod', 'preRenderForm_GB', 'preRenderForm_GB_prod', 'preRenderForm_exp', 'preRenderForm_GB_exp', 'preRenderForm_GB_prod_exp' ]
Scaling merchant onboarding Lessons and updates Usability tests Current status
Usability tests - Objective Tested with developers
Usability tests - Objective Tested with developers Configuration driven forms
Usability tests - Objective Tested with developers Configuration driven forms
Documentation discovery
Usability tests - Setup Script
Usability tests - Setup Script 1. Create a form with
text fields 2. Add a dropdown 3. Configure validations 4. Abstract fields 5. Create new page
Usability tests - Setup Script Six developers
Usability tests - Setup Script Six developers 30 minutes each
:(
Scaling merchant onboarding Lessons and updates Usability tests Current status
Current status 4 teams currently working with F0 Working towards
open sourcing https://github.paypal.com/f0/f0/issues
@brunopsanches Thank you