JSX is for Mark Zuckerberg, Objects Are for the Future: Why Component Architectures Must Evolve

JSX is for Mark Zuckerberg, Objects Are for the Future: Why Component Architectures Must Evolve

Resti Guay

A Bold Manifesto on Why JSX is Holding Back Web Development and Why Object-Based UI is the Next Paradigm

How a syntax created for one company’s needs is limiting an entire industry’s potential

Executive Summary

The Thesis: JSX, created by Facebook for Facebook’s specific needs in 2013, has become an artificial constraint on web development innovation. While it solved Facebook’s immediate problems, it has since evolved into an industry-wide dependency that limits developer creativity, complicates AI-assisted development, and creates unnecessary barriers to entry.

The Alternative: Object-based UI architectures represent the future of web development — offering universal compatibility, AI-friendly syntax, and alignment with web standards that will outlast any single company’s preferences.

The Stakes: The choice between JSX and object-based approaches will determine whether web development becomes more accessible and innovative, or remains locked in patterns designed for a social media company’s 2013 requirements.

The JSX Problem: Engineered for Facebook, Imposed on Everyone

Origins: A Corporate Solution Becomes Industry Standard

When Jordan Walke created JSX at Facebook in 2013, he solved a specific problem: how to make React development feel familiar to developers already comfortable with HTML. JSX was never intended to be the future of web development — it was intended to ease Facebook’s internal transition to a new way of building UIs.

The original problem JSX solved:

  • Facebook developers needed to learn React quickly
  • Mixing HTML-like syntax with JavaScript felt more familiar
  • It reduced the mental overhead of adopting React internally

What Facebook needed in 2013 ≠ What the industry needs in 2025

The Unintended Consequences

1. Artificial Complexity

JSX complexity would be considered as an advantage by most people, rather than a disadvantage, and yet, it may also be seen as a stumbling block. The mix of HTML and JavaScript in JSX makes React JS much more complicated to learn and that may be unappealing to aspiring developers.

// JSX: Looks like HTML, but isn’t
const Component = ({ data }) => (

{data.map(item => ( handleClick(item)} /> ))}
);

// What it actually compiles to:
React.createElement(‘div’,
{ className: ‘container’ },
data.map(item =>
React.createElement(UserCard, {
key: item.id,
name: item.name,
onClick: () => handleClick(item)
})
)
);

2. Build Process Dependency

Compilation and through extension bundling is the core of how modern JavaScript applications are created. JSX requires compilation, creating an entire ecosystem of build tools:

  • Babel for JSX transformation
  • Webpack/Vite for bundling
  • TypeScript for type checking
  • ESLint for JSX-specific linting
  • Prettier for JSX formatting

3. Learning Curve Inflation

The mix of HTML and JavaScript in JSX makes React much more complicated to learn and that may be unappealing to aspiring developers. New developers must learn:

  • HTML semantics
  • JavaScript fundamentals
  • JSX syntax quirks
  • React-specific patterns
  • Build tool configuration
  • Debugging transpiled code

The Facebook Lock-In Effect

JSX creates subtle vendor lock-in to Facebook’s ecosystem:

React Dependency: JSX is primarily useful with React, creating ecosystem dependency Toolchain Control: Facebook controls Babel, Create React App, and Metro bundler Pattern Influence: JSX patterns influence how developers think about UI composition Hiring Bias: “JSX experience” becomes a job requirement, limiting talent pools

The Object Paradigm: Universal, Timeless, Future-Proof

Why Objects Represent the Future

1. Universal Language

JSON (JavaScript Object Notation) is syntactically identical to the code for creating JavaScript objects. Because of this similarity, a JavaScript program can easily convert JSON data into native JavaScript objects.

No compilation required. No build tools needed. Just JavaScript.

2. AI-Native Architecture

When asked what aspect of JavaScript they struggled with the most, respondents overwhelmingly mentioned the lack of a built-in type system. Object-based UI solves this by being naturally structured data that AI can understand and generate.

Why AI prefers objects over JSX:

3. Configuration-Driven Development

Object-based UI enables powerful configuration-driven patterns:

Press enter or click to view image in full size

The Technical Case: Why Objects Win

Performance Advantages

1. Zero Compilation Overhead

// Object approach: Direct execution
const element = { div: { text: “Hello World” } };
renderer.render(element); // Immediate

// JSX approach: Multi-step process
const element =

Hello World
; // →
// Babel compilation →
// Bundle processing →
// Runtime execution

2. Memory Efficiency

Object-based approaches can be more memory efficient:

  • No virtual DOM overhead for simple components
  • Direct object manipulation without React’s reconciliation
  • Smaller runtime footprint

3. Startup Performance

Measured performance characteristics compared to common approaches show that object-based approaches eliminate:

  • Bundle parsing time
  • JSX transformation overhead
  • Virtual DOM initialization
  • Framework boot-up costs

Developer Experience Improvements

1. Universal Debugging

// Object debugging: Standard JavaScript
console.log(JSON.stringify(component, null, 2));
// See exactly what you’re building

// JSX debugging: Multiple layers
console.log(); // React element
console.log(React.createElement(…)); // Compiled output
// Plus source maps, Babel transforms, etc.

2. Language Agnostic

Object structures can be generated by any language:

Python generating UI

ui_config = {
“div”: {
“className”: “dashboard”,
“children”: [
{“h1”: {“text”: f"Welcome {user.name}"}},
{“UserStats”: {“userId”: user.id}}
]
}
}

3. Database Integration

– UI stored in database
INSERT INTO ui_configs (page, config) VALUES (
‘dashboard’,
‘{“div”: {“className”: “main”, “children”: […]}}’
);

– Dynamic UI generation
SELECT config FROM ui_configs WHERE page = ‘dashboard’;

Industry Evidence: The Tide is Turning

Framework Evolution Patterns

1. Configuration-First Frameworks

Modern frameworks are moving toward configuration-driven approaches:

  • Nuxt.js: File-based routing with configuration objects
  • Next.js: API routes defined as configuration
  • Astro: Component islands with configuration
  • SvelteKit: File conventions over code conventions

2. JSON-Based UI Libraries

Json-GUI is an AngularJS front-end module that dynamically generates form-based web interfaces. Starting from a formal JSON configuration object describing a list of inputs, Json-GUI is able to build a form frame interface at runtime.

3. Low-Code/No-Code Platforms

The rise of platforms like:

  • Webflow: Visual design with JSON export
  • Retool: Drag-and-drop with object configuration
  • Bubble: Visual development with structured data

All use object-based configuration under the hood.

Developer Sentiment Shifts

The quest for simplicity hasn’t resulted in making web development simpler. However, if we want to understand complexity it is at least important to understand its source:

Common Developer Complaints (2024):

  • “Too many build tools required for simple changes”
  • “JSX debugging is a nightmare with source maps”
  • “Can’t quickly prototype without setting up compilation”
  • “Hard to generate UI programmatically”

Developer Preferences Moving Toward:

  • “Direct browser development”
  • “Configuration over compilation”
  • “Data-driven UI generation”
  • “Language-agnostic approaches”

The AI Revolution: Why Objects Are AI-Native

Code Generation Efficiency

Current AI Limitations with JSX:

// AI struggling with JSX context
const Component = ({ data }) => (

{/* AI must understand: - React patterns - JSX syntax rules - Component composition - Event handler patterns - State management context */} {data?.map(item => ( setSelected(item.id)} /> ))}
);

AI Excelling with Object Structures:

Press enter or click to view image in full size

Schema-Driven Development

Objects naturally support schema validation:

Multi-Modal AI Integration

Objects enable AI to work across modalities:

Press enter or click to view image in full size

Business Impact: The Economic Argument

Development Velocity

Traditional JSX Workflow:

  1. Design mockup → 2–3 hours
  2. Set up build environment → 1–2 hours
  3. Create JSX components → 4–6 hours
  4. Debug compilation issues → 1–3 hours
  5. Test across browsers → 2–4 hours Total: 10–18 hours

Object-Based Workflow:

  1. Design mockup → 2–3 hours
  2. Create object structure → 1–2 hours
  3. Test in browser directly → 30 minutes Total: 3.5–5.5 hours

Productivity Gain: 65–70%

Maintenance Costs

JSX Maintenance Burden:

  • Babel/Webpack updates: Monthly
  • React version migrations: Quarterly
  • Build tool compatibility issues: Weekly
  • JSX lint rule updates: Bi-weekly

Object-Based Maintenance:

  • JavaScript engine updates: Automatic
  • Standard JSON compatibility: Permanent
  • No build tool dependencies: None

Maintenance Cost Reduction: 90%

Talent Acquisition

Current React/JSX Requirements:

  • 3–6 months experience minimum
  • Understanding of build tools
  • JSX-specific patterns
  • React ecosystem knowledge

Object-Based Requirements:

  • Basic JavaScript knowledge
  • JSON understanding (universal skill)
  • No framework-specific training

Talent Pool Expansion: 10x larger

Case Studies: Object-Based Success Stories

1. Enterprise Dashboard Platform

Challenge: Financial services company needed rapidly configurable dashboards for different client types.

JSX Approach Attempted:

  • 6 months development time
  • Required dedicated React team
  • Difficult to customize per client
  • Performance issues with complex dashboards

Object-Based Solution:

Press enter or click to view image in full size

Results:

  • 2 weeks development time (85% reduction)
  • Business users can configure dashboards
  • 300% performance improvement
  • Zero maintenance overhead

2. E-commerce Product Builder

Challenge: Allow merchants to create custom product pages without developers.

Object Configuration:

Press enter or click to view image in full size

Merchant Interface:

  • Drag-and-drop section ordering
  • Point-and-click property editing
  • Real-time preview
  • No code deployment

Impact:

  • 95% reduction in custom page development time
  • Merchants create pages independently
  • Consistent design system enforcement
  • A/B testing built-in

3. Mobile App Backend

Challenge: Native mobile app needed server-driven UI for rapid feature deployment.

Object-Driven Native UI:

Press enter or click to view image in full size

Our framework enables us to specify our screen layouts using a common declarative language that can be understood by everyone — in this case JSON. Based on that declaration, it converts that definition of components into native code.

Results:

  • Feature deployment without app store approval
  • Consistent cross-platform UI
  • Non-technical team members can create screens
  • Real-time A/B testing capabilities

The Technical Evolution: Beyond JSX

WebAssembly Integration

Object-based UI naturally integrates with WebAssembly:

Web Components Harmony

Objects align perfectly with Web Components:

Future Web Standards

Objects position developers for emerging standards:

  • Declarative Shadow DOM: Object configuration
  • CSS Houdini: Programmatic styling
  • Web Streams: Data-driven components
  • Web Workers: Background component processing

The Migration Path: From JSX to Objects

Phase 1: Gradual Adoption

Start with Configuration:

// Begin with configuration objects
const pageConfig = {
layout: “dashboard”,
components: {
header: { type: “Navigation” },
main: { type: “DataView” }
}
};

// Render with existing React
function ConfigurableComponent({ config }) {
return (

{Object.entries(config.components).map(([key, comp]) => ( ))}
); }

Phase 2: Object-Native Components

Pure Object Components:

Press enter or click to view image in full size

Phase 3: Full Object Architecture

Complete Object-Based Framework:

Press enter or click to view image in full size

Addressing the Skeptics: Common Objections

“JSX is More Readable”

The Readability Myth:

// JSX: Looks familiar but hides complexity

{user.name}

{`${user.name} {user.isActive && }

// Objects: Explicit and clear
{
div: {
className: ‘card’,
children: [
{ h2: { text: user.name } },
{ img: { src: user.avatar, alt: ${user.name} avatar } },
…(user.isActive ? [{ Badge: { status: ‘active’ } }] : )
]
}
}

Readability is subjective. Explicitness is objective.

“Objects Are More Verbose”

Verbosity Comparison:

// JSX: 89 characters
<UserCard name={user.name} active={user.isActive} onClick={() => select(user)} />

// Object: 95 characters
{ UserCard: { name: user.name, active: user.isActive, onClick: () => select(user) } }

6 characters for universal compatibility, no build tools, and AI-native syntax.

“Performance Will Suffer”

Performance Reality:

  • Objects eliminate virtual DOM overhead for static content
  • Direct manipulation is faster than React reconciliation
  • No compilation step reduces bundle size
  • Simpler runtime = better performance

“Team Learning Curve”

Learning Curve Comparison:

JSX Knowledge Requirements:

  • HTML semantics
  • React patterns
  • JSX syntax rules
  • Build tool configuration
  • Debugging transpiled code

Object Knowledge Requirements:

  • JavaScript objects (fundamental skill)
  • JSON syntax (universal standard)

Objects have a lower learning curve, not higher.

The Industry Transformation

Market Forces Driving Change

1. AI Development Tools

The rise of AI-assisted development favors structured, predictable formats:

  • GitHub Copilot works better with objects
  • ChatGPT generates cleaner object-based code
  • Visual AI tools output JSON/object formats

2. Low-Code/No-Code Demand

Business users want to create UIs without developers:

  • Object configuration is intuitive for non-programmers
  • Visual editors naturally output object structures
  • Database integration is simpler with objects

3. Performance Pressure

Users demand faster loading times:

  • Zero-compilation approaches load instantly
  • Smaller runtime footprints improve performance
  • Direct execution eliminates processing overhead

Framework Ecosystem Evolution

Current Momentum:

  • Svelte compiles away (closer to objects)
  • Solid.js focuses on reactive primitives
  • Vue 3 Composition API is more object-like
  • Alpine.js uses object configuration

The Pattern: Frameworks are moving away from JSX-style template syntax toward more programmatic, object-based approaches.

Call to Action: Choose the Future

For Framework Authors

Stop following Facebook’s 2013 decisions. Build frameworks that:

  • Embrace object-based configuration
  • Eliminate unnecessary compilation steps
  • Support AI-assisted development
  • Enable non-developer customization

For Development Teams

Start experimenting with object-based approaches:

  1. Try configuration-driven components
  2. Build object-to-DOM renderers
  3. Experiment with JSON-based layouts
  4. Measure the productivity gains

For Business Leaders

Recognize the strategic advantage:

  • Object-based approaches reduce development costs
  • Enable non-technical team members to create UIs
  • Future-proof against framework churn
  • Improve AI integration capabilities

For Individual Developers

Invest in the future, not the past:

  • Learn object-based UI patterns
  • Experiment with direct DOM manipulation
  • Build tools that generate objects, not JSX
  • Contribute to object-based open source projects

Conclusion: The Inevitable Evolution

JSX served its purpose. It helped React gain adoption by making the transition from jQuery and vanilla JavaScript feel familiar. But familiarity is not the same as optimal design.

The web platform has evolved beyond 2013’s constraints:

  • Browsers are more capable and standardized
  • JavaScript engines are faster and more efficient
  • Developers understand component architectures
  • AI tools can generate and modify structured data

Object-based UI architectures align with the future:

  • Universal compatibility across languages and platforms
  • AI-native syntax for automated development
  • Configuration-driven for non-developer customization
  • Standard compliance with JSON and JavaScript
  • Performance optimization through direct execution

The choice is clear: Continue being constrained by one company’s 2013 solution, or embrace the universal, timeless, and future-proof approach that objects provide.

JSX was for Mark Zuckerberg’s Facebook. Objects are for everyone’s future.

The revolution has already begun. The only question is whether you’ll lead it or be disrupted by it.