Tagged articles
JSX
42 articles · Page 1 of 1
Node.js 26 LTS introduces direct execution of TypeScript files by stripping type annotations at runtime, preserving line numbers for debugging, while type checking remains a separate compile-time step; enums, decorators, and JSX are not supported.
JSXNode.jsNode.js 26
0 likes · 3 min read

This article presents nine concise JSX techniques—such as using clsx for class concatenation, proper short‑circuit rendering, extracting deep ternaries, forwarding props with ...rest, leveraging children, memoizing style objects, correct comment syntax, fragment shorthand, and minimal boolean attributes—to boost code readability and component flexibility in React development.
Code styleJSXProps
0 likes · 7 min read

Vue JSX Vapor extends Vue's rendering system to provide full JSX support with Vue directives, matching template compiler output, delivering up to 20× faster performance than Babel, and offering seamless integration via Vite, type‑safe TSX, and dual Virtual DOM/Vapor DOM compilation targets.
JSXRustTypeScript
0 likes · 7 min read

Vue creator Evan You unveiled Vue JSX Vapor 3.1, a Virtual‑DOM‑free rendering mode that compiles JSX into fine‑grained DOM operations, adds dual Virtual DOM/Vapor output, full directive support, and, according to JS Framework Benchmark data, matches native Vapor speed, outperforms SolidJS in some cases and leaves React far behind, while also planning Virtual‑DOM‑based SSR for future releases.
JSXReactSolidJS
0 likes · 6 min read

This article explains how React’s container concepts connect JSX, the virtual DOM, and the real DOM, covering component types, root and container components, fragments, state and data flow, reuse patterns like hooks and HOCs, and stability tools such as Suspense, Error Boundaries, and StrictMode.
JSXReactState Management
0 likes · 9 min read

The article examines the limitations of the current JSX‑based component model, argues for separating UI rendering from logic, and highlights emerging frameworks that offer more granular reactivity and flexible composition to guide the next wave of frontend development.
Component ModelFrontend ArchitectureJSX
0 likes · 11 min read

This article explores three approaches to bring Vue‑like directives such as r‑if and r‑for into React, compares their pros and cons, and provides a complete Babel plugin implementation that transforms custom JSX attributes into standard React conditional and list rendering syntax.
BabelDirectivesJSX
0 likes · 9 min read

This article provides a comprehensive guide to using JSX/TSX in Vue 3, covering project setup, the defineComponent API, option and function syntax, data binding, event handling, slots, scoped CSS, and various approaches to defining and simplifying props with TypeScript.
JSXScoped CSSTSX
0 likes · 22 min read

This article explains how to improve React conditional rendering readability by adopting Solid.js's Show component pattern, implementing a reusable Show component in React, and extending it to support asynchronous data loading, ultimately making JSX templates clearer and more maintainable.
Conditional RenderingJSXReact
0 likes · 7 min read

This article systematically introduces the many ways to write Vue components—including the classic Options API, the modern Composition API with setup syntax sugar, hand‑written render functions using h or createVNode, and various JSX techniques—explaining their principles, code examples, and when to choose each approach.
@ComponentJSXJavaScript
0 likes · 19 min read

This article presents 21 practical best‑practice guidelines for writing clean, maintainable React code, covering JSX shortcuts, ternary operators, object literals, fragments, avoiding functions in render, memoization, styling, imports, naming conventions, and other tips, each illustrated with bad and good code examples.

This article examines how JSX can be used in Vue 3, compares it with Vue's native template syntax, provides step‑by‑step configuration instructions, and discusses the advantages, disadvantages, and suitable scenarios for adopting JSX in modern frontend development.
JSXJavaScriptTemplate Syntax
0 likes · 15 min read

This article explains the fundamentals of JSX, why JSX expressions must have a single root element, and provides a step‑by‑step guide with complete code to implement a minimal JSX parser that translates JSX syntax into plain JavaScript createElement calls.
JSXJavaScriptParser
0 likes · 13 min read

This article explains the challenges of upgrading large B2B Vue 2 projects to Vue 3, evaluates three technical approaches—Vue SFC templates, render functions, and standard JSX—and details the chosen JSX‑based strategy, multi‑layer architecture, TypeScript support, and open‑source implementation for a seamless cross‑version component library.
Cross-VersionJSXTypeScript
0 likes · 23 min read

TypeScript 5.1 introduces smarter checks for undefined‑returning functions, removes getter/setter type restrictions, adds support for JSX tags with namespace attributes, provides @param JSDoc snippet completion, decouples JSX element and tag type checking, and includes several other enhancements and breaking changes.
JSXTypeScriptTypeScript5.1
0 likes · 4 min read

This article compares Vue’s single‑file components with React’s class and functional components, explains the shift from two‑way binding to one‑way data flow, introduces JSX and React Hooks, discusses state‑management patterns like Vuex and Redux, and provides a practical TodoList implementation.
JSXReactState Management
0 likes · 12 min read

The article explains why React is well‑suited for cross‑platform dynamic development, detailing its data‑driven model, JSX‑to‑virtual‑DOM workflow, fiber architecture, Taro reconciler adaptations, and independent event system, and shows how React can serve as both a DSL and a full runtime for mobile and web.
FiberJSXReact
0 likes · 12 min read

The article explains how React’s data‑driven model, JSX‑to‑virtual‑DOM workflow, fiber architecture, independent event system, and adaptations such as React Native and Taro enable efficient cross‑platform dynamic applications, and provides code examples and practical guidance for developers.
FiberJSXReact
0 likes · 13 min read

The article explains how React’s data‑driven model, JSX‑to‑virtual‑DOM workflow, fiber architecture, independent event system, and adaptations in frameworks like React Native and Taro enable efficient cross‑platform dynamic applications, while comparing it with traditional template‑based approaches.
FiberJSXReact
0 likes · 13 min read

This article presents a comprehensive guide to Vue 3 advanced features, covering the use of createVNode and render for dynamic component creation, JSX/TSX advantages, dependency injection with provide/inject, Composition API patterns, utility hooks, global component registration, script‑setup syntax, and the latest v‑model usage, all illustrated with practical code examples.
Composition APIGlobal ComponentsJSX
0 likes · 19 min read

This article explains the reasoning behind adopting JSX in the mobile visualization engine F2, comparing declarative JSON and imperative API approaches, and outlines JSX's programmability, extensibility, stable tree structure, complete description, and tooling advantages.
F2JSXdata visualization
0 likes · 13 min read

This article explains common pitfalls when using conditional expressions in React JSX—such as rendering zero, operator precedence, ternary nesting, and using JSX as a condition—and provides clear recommendations like explicit boolean checks, parentheses, key usage, and avoiding overly complex ternary operators.
Best PracticesConditional RenderingJSX
0 likes · 8 min read

This article presents a comprehensive overview of JSX support in Vue 3, covering its origins, differences from template syntax, migration details, practical usage scenarios, handling of props and slots, performance considerations, and the underlying compilation mechanisms such as PatchFlags and SlotFlags.
@ComponentJSXVue.js
0 likes · 14 min read

This article presents a comprehensive overview of using JSX in Vue 3, covering its basic concepts, why Vue supports JSX, the changes introduced in Vue 3, practical scenarios, implementation details, and performance comparisons with the traditional template syntax.
@ComponentBabelJSX
0 likes · 13 min read

This article explains what an Abstract Syntax Tree (AST) is, outlines its parse‑transform‑generate workflow, and demonstrates practical AST‑based code transformations using Babel, custom ESLint rules, and a JSX‑to‑object Babel plugin, complete with example code and visual illustrations.
ASTBabelESLint
0 likes · 14 min read

The article outlines a tool that converts React JSX into a Svelte abstract syntax tree by stripping framework‑specific features, mapping elements, attributes, mustache templates and function JSX, translating control structures, providing a compatibility “svelte‑hooks” layer, handling ECMA‑AST differences and CSS, noting larger bundle size but potential for further static compilation and optimization.
ASTJSXSvelte
0 likes · 8 min read

The TypeScript 4.1 release candidate introduces several major enhancements, including template literal types, key remapping in mapped types, recursive conditional types, the noUncheckedIndexedAccess flag, optional baseUrl for path mapping, default checkJs behavior, and support for React 17 JSX and JSXdev features.
4.1Conditional TypesJSX
0 likes · 2 min read

This tutorial introduces React fundamentals, covering installation, JSX syntax, component creation with functions and classes, props and state management, lifecycle events, controlled and uncontrolled forms, and component communication patterns and best practices.
JSXJavaScriptLifecycle
0 likes · 10 min read


政采云技术Jul 5, 2020 · Frontend Development
This article provides a comprehensive guide to migrating Vue 2 projects to Vue 3 using JSX, covering Vue 3’s new features, JSX basics, migration strategies, plugin configurations, code examples, and best practices for developers transitioning to the new ecosystem.
Ant Design VueJSXmigration
0 likes · 14 min read

This article explains how React processes JSX by compiling it with Babel into React.createElement calls, detailing the handling of mixed JavaScript‑HTML syntax, the importance of capitalized component names, and common pitfalls when using expressions inside braces, illustrated with multiple code demos.
BabelJSXReact
0 likes · 8 min read

HTM is a pure‑JavaScript library that implements a JSX‑like syntax without a compiler, offering sub‑kilobyte bundle sizes, seamless integration with React/Preact, ergonomic syntax enhancements, and a new Babel plugin that dramatically improves performance and flexibility for frontend developers.
BabelHTMJSX
0 likes · 4 min read

The article explains the Virtual DOM as a lightweight JavaScript object with tag, props, and children, shows how JSX compiles to VD using a custom pragma, provides helper functions to create real DOM from VD, and outlines how batching updates reduces reflows, previewing a future diff algorithm.
Diff AlgorithmFront-endJSX
0 likes · 7 min read

This article explains how the render props pattern solves the flexibility and prop‑passing limitations of earlier React design approaches, illustrating the concept with JSX examples, Babel compilation details, and comparisons to props.children for creating highly reusable and readable components.
JSXJavaScriptReact
0 likes · 8 min read

The article explains how to render custom components in WeChat mini‑programs by compiling React render methods into template classes, using dynamic templates, wx:for directives, and helper functions like miniCreateClass to bridge the gap between React and the mini‑program environment.
@ComponentBabelJSX
0 likes · 7 min read


Aotu LabJun 25, 2018 · Frontend Development
This article explores the challenges of developing WeChat mini‑programs, examines Taro’s origins, and explains how it leverages React‑like syntax and compilation techniques—using Babel and AST transformations—to convert JSX into mini‑program templates, enabling a write‑once‑run‑anywhere cross‑platform development workflow.
JSXTaROWeChat Mini-Program
0 likes · 19 min read


JD TechJun 25, 2018 · Frontend Development
This article examines the evolution of WeChat Mini Programs, the challenges they pose for front‑end developers, and how the Taro framework leverages JSX compilation, Babel‑based AST transformations, and cross‑platform component standards to enable React‑style development across multiple platforms.
JSXReactTaRO
0 likes · 17 min read

This article provides a detailed overview of ReactJS, covering its origins, virtual DOM mechanism, component‑based architecture, common misconceptions, setup steps, JSX syntax, component properties, state management, lifecycle methods, and practical code examples for building interactive web interfaces.
Component ArchitectureJSXJavaScript
0 likes · 14 min read

React, an open‑source UI library created by Facebook, uses a virtual DOM and component‑based architecture—both class‑based and functional—to build modular, reusable interfaces, while JSX provides an XML‑like syntax that compiles to JavaScript, enhancing development efficiency and maintainability.
Component-Based ArchitectureES6 Class ComponentFunctional Component
0 likes · 9 min read

This guide explains how to install the Babel JSX plugin, write JSX inside Vue 2 components, covers key syntax differences, highlights important considerations, and suggests extensions like vue-class-component for more elegant component definitions.
BabelJSXTutorial
0 likes · 5 min read

This article introduces React, the Facebook‑originated JavaScript UI library, explaining its rise in popularity and core concepts—JSX syntax that compiles to React.createElement calls, the virtual DOM that efficiently batches updates, and a component architecture that separates props and state for reusable, maintainable code.
Component ArchitectureFrontend DevelopmentJSX
0 likes · 9 min read

This article explains the purpose of the React "key" prop, shows how missing keys cause warnings and rendering bugs, demonstrates proper usage with code examples, and discusses how keys affect component updates, lifecycle handling, and performance in complex UI scenarios.
JSXReactcomponent lifecycle
0 likes · 11 min read

This article provides a comprehensive overview of ReactJS, covering its origin, virtual DOM performance benefits, component-based architecture, JSX syntax, setup instructions, and multiple code examples that illustrate rendering, state management, lifecycle methods, and component nesting for modern front‑end development.
@ComponentJSXReactJS
0 likes · 15 min read
