Tagged articles

ReAct

1070 articles · Page 11 of 11
21CTO
21CTO
Dec 7, 2017 · Frontend Development

Build a Simple Blog with React, Next.js, and Cosmic.js GraphQL

This tutorial walks through creating a lightweight blog using React, Next.js, and Cosmic.js GraphQL, covering environment setup, dependency installation, package configuration, core component implementation, and sample GraphQL queries to fetch and display posts.

BlogCosmic.jsGraphQL
0 likes · 7 min read
Build a Simple Blog with React, Next.js, and Cosmic.js GraphQL
Qunar Tech Salon
Qunar Tech Salon
Dec 6, 2017 · Frontend Development

Using Draft.js for Custom Rich Text Editing in React

This article explains how Draft.js, a React‑based rich‑text editor framework, can be applied to build a customizable editor with support for structured content, immutable state management, custom block rendering, data conversion, and hook handling, providing code examples throughout.

Draft.jsFrontendJavaScript
0 likes · 9 min read
Using Draft.js for Custom Rich Text Editing in React
21CTO
21CTO
Nov 6, 2017 · Frontend Development

Master React Router v4: A Complete Guide to Building Dynamic and Protected Routes

This tutorial walks you through installing React Router v4, creating basic, nested, and dynamic routes, handling URL parameters, and implementing protected routes with authentication, providing comprehensive code examples and best practices for building robust client‑side navigation in modern React applications.

JavaScriptProtected RoutesReAct
0 likes · 18 min read
Master React Router v4: A Complete Guide to Building Dynamic and Protected Routes
21CTO
21CTO
Oct 22, 2017 · Frontend Development

Mastering React: From Transformation to Algebraic Effects

This article walks front‑end developers through the author's deductive model of React, covering transformation, abstraction, composition, state handling, memoization, list management, continuations, state maps, and algebraic effects with clear code examples.

Component ArchitectureFrontendJavaScript
0 likes · 9 min read
Mastering React: From Transformation to Algebraic Effects
Meituan Technology Team
Meituan Technology Team
Oct 12, 2017 · Frontend Development

Managing Software Complexity with Abstraction, Composition, and Functional Programming in Redux/React

By using abstraction to model common concepts and composition to build complex behavior from simple, pure‑function building blocks like map, filter, and reduce, the article shows how functional programming techniques underpin Redux and React, providing a systematic way to tame front‑end software complexity.

Functional ProgrammingHigher-Order FunctionsReAct
0 likes · 22 min read
Managing Software Complexity with Abstraction, Composition, and Functional Programming in Redux/React
21CTO
21CTO
Sep 23, 2017 · Frontend Development

Why Facebook Switched React’s License to MIT – What It Means for Developers

Facebook announced it will relicense React, Jest, Flow, and Immutable.js to MIT, sparking backlash from the developer community and prompting companies like Apache, WordPress, and Baidu to reconsider their use of React, while the company explains its reasoning and future plans.

FacebookMITOpen Source
0 likes · 6 min read
Why Facebook Switched React’s License to MIT – What It Means for Developers
Architecture Digest
Architecture Digest
Aug 14, 2017 · Frontend Development

An Overview of Modern Front-End Development Workflow and Tools

This article provides a comprehensive overview of the front‑end development workflow, explaining core concepts like HTML, CSS, JavaScript, and detailing essential tools such as npm, Babel, Gulp, Webpack, and popular frameworks like React and Vue, while addressing their roles and interactions.

BabelFrontendJavaScript
0 likes · 8 min read
An Overview of Modern Front-End Development Workflow and Tools
Beike Product & Technology
Beike Product & Technology
Aug 9, 2017 · Frontend Development

10 React Mini-Patterns

This article presents ten practical React mini‑patterns—including data flow, native input handling, unique ID generation, CSS control via props, component switching, autofocus, list rendering, number formatting, store usage, and import simplification—to help both newcomers and seasoned developers write cleaner, more maintainable front‑end code.

Component ArchitectureDesign PatternsFrontend
0 likes · 14 min read
10 React Mini-Patterns
Qunar Tech Salon
Qunar Tech Salon
Aug 4, 2017 · Frontend Development

Understanding and Implementing Higher-Order Components in React

This article explains the concept of higher‑order components (HOCs) in React, demonstrates basic and advanced implementations—including parameterized HOCs, display‑name handling, composition with compose, and practical examples such as loading and copy utilities—while comparing HOCs with parent components and recommending open‑source libraries.

DecoratorFrontendHigher-Order Component
0 likes · 10 min read
Understanding and Implementing Higher-Order Components in React
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Jul 11, 2017 · Frontend Development

How React, Angular, and Vue Detect Changes and Perform Batch Updates

This article examines how modern frontend frameworks—React, Angular 1, Angular 2, and Vue—detect data changes and implement batch updates, comparing their virtual DOM diffing, dirty checking, zone.js, and asynchronous queues to reveal each library’s underlying change‑detection strategy.

AngularBatch UpdateChange Detection
0 likes · 14 min read
How React, Angular, and Vue Detect Changes and Perform Batch Updates
Hujiang Technology
Hujiang Technology
Jul 5, 2017 · Frontend Development

Getting Started with TypeScript and React

This tutorial walks through setting up a TypeScript project with React, covering installation, tsconfig configuration, Webpack and Babel integration, creating a simple component, adding type declarations for third‑party modules, testing with Jest and ts‑jest, and enforcing code style with TSLint.

BabelJestReAct
0 likes · 16 min read
Getting Started with TypeScript and React
Hujiang Technology
Hujiang Technology
Jun 27, 2017 · Frontend Development

React Forms: Using Refs (Translation)

This article translates Loren Stewart’s guide on using React refs for form handling, explaining both controlled components and ref‑based approaches, and provides detailed code examples for text, number, select, radio, and checkbox inputs, including techniques for parent‑child communication and value extraction.

Controlled ComponentsFormsJavaScript
0 likes · 15 min read
React Forms: Using Refs (Translation)
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Jun 25, 2017 · Frontend Development

What’s New This Week in Front‑End Tech? AI Cloud, React 15.6, Angular 4.2, and More

This week’s front‑end roundup covers Tencent’s new “Intelligent Cloud” AI‑as‑a‑Service platform, Walmart’s ban on AWS, releases of React 15.6.0, Angular 4.2, ESLint 4.0.0, Firefox 54 and Chrome 60 Beta, plus updates on Apple Music licensing, Visual Studio 2017 preview and Owl Labs’ robotic conference camera.

AngularFrontendReAct
0 likes · 6 min read
What’s New This Week in Front‑End Tech? AI Cloud, React 15.6, Angular 4.2, and More
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Jun 15, 2017 · Frontend Development

Quickly Add Jest Snapshot Tests to Your React Project

This article explains why web releases often miss thorough testing, introduces Jest and its React support, and provides a step‑by‑step guide to implementing snapshot testing and improving unit‑test coverage in modern React applications.

JestReActUnit Testing
0 likes · 5 min read
Quickly Add Jest Snapshot Tests to Your React Project
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Jun 1, 2017 · Frontend Development

Unveiling React’s Diff Algorithm: From O(n³) to O(n) Performance

This article delves into React’s diff mechanism, explaining how the framework transforms the naïve O(n³) tree‑edit distance into an O(n) solution through layered tree diff, component diff, and element diff strategies, and offers practical insights on key usage and performance pitfalls.

Diff AlgorithmReActfrontend performance
0 likes · 14 min read
Unveiling React’s Diff Algorithm: From O(n³) to O(n) Performance
Hujiang Technology
Hujiang Technology
May 31, 2017 · Frontend Development

Exploring React's Virtual DOM: Source Code Analysis

This article examines React's Virtual DOM by dissecting the React source code, explaining the structure of the React object, ReactElement factory, the createElement implementation, and how these pieces combine to build a virtual DOM tree for rendering components.

JavaScriptReActReactElement
0 likes · 11 min read
Exploring React's Virtual DOM: Source Code Analysis
Qunar Tech Salon
Qunar Tech Salon
Apr 23, 2017 · Frontend Development

Performance Optimizations in Twitter Lite: Code Splitting, Rendering, Images, Redux, and Service Workers

This article explains how Twitter Lite, one of the world’s largest React.js PWAs, eliminates a range of performance bottlenecks through route‑based code splitting, avoiding frame‑dropping functions, using smaller images, optimizing React lifecycle methods, improving Redux updates, and leveraging Service Workers for faster asset delivery.

Code SplittingPWAPerformance
0 likes · 19 min read
Performance Optimizations in Twitter Lite: Code Splitting, Rendering, Images, Redux, and Service Workers
Hulu Beijing
Hulu Beijing
Apr 11, 2017 · Frontend Development

Why Declarative Programming Makes React Development a Breeze

The article uses a company’s annual party procurement process to illustrate declarative versus imperative programming, showing how React’s declarative model lets developers specify desired UI outcomes while the framework handles rendering details, resulting in simpler code, reduced duplication, and better global coordination.

Declarative programmingProgramming ParadigmsReAct
0 likes · 7 min read
Why Declarative Programming Makes React Development a Breeze
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Apr 6, 2017 · Frontend Development

Mastering React Isomorphic SSR: Build a Perfect Server‑Side Rendering Boilerplate

This guide walks you through building a complete React isomorphic server‑side rendering environment—from understanding SSR benefits and core principles to configuring routing, state management, static asset handling, code splitting, optimization, and deployment—providing practical code snippets, diagrams, and best‑practice recommendations.

IsomorphicNode.jsReAct
0 likes · 14 min read
Mastering React Isomorphic SSR: Build a Perfect Server‑Side Rendering Boilerplate
Qunar Tech Salon
Qunar Tech Salon
Mar 27, 2017 · Frontend Development

Isomorphic MVC (IMVC): A Unified Front‑End Architecture for Server‑Side and Client‑Side Rendering

The article introduces the concept of isomorphic JavaScript, explains its types and hierarchical levels, outlines its practical benefits such as SEO and faster first‑load experience, and details the IMVC framework and the create‑app library that enable seamless server‑client code sharing with a clear controller‑model‑view separation.

FrontendIsomorphicMVC
0 likes · 22 min read
Isomorphic MVC (IMVC): A Unified Front‑End Architecture for Server‑Side and Client‑Side Rendering
Ctrip Technology
Ctrip Technology
Mar 24, 2017 · Frontend Development

Isomorphic MVC (IMVC): Concepts, Architecture, and Implementation Strategies

This article introduces the concept of isomorphic JavaScript, distinguishes content‑ and form‑isomorphism, explains the layered spectrum of isomorphism, outlines its practical benefits for SEO, performance and maintainability, and details the IMVC framework design, controller pattern, simplified Redux (relite), and engineering tooling for modern front‑end development.

IsomorphicMVCNode.js
0 likes · 23 min read
Isomorphic MVC (IMVC): Concepts, Architecture, and Implementation Strategies
Ctrip Technology
Ctrip Technology
Mar 24, 2017 · Frontend Development

Qreact: A Mini React Framework for Mobile Front‑End Optimization

This article describes the development of Qreact, a lightweight React‑compatible framework created by Ctrip to dramatically reduce bundle size for mobile apps, covering its core requirements, competitor analysis, design choices, implementation details, performance optimizations, and final results.

Mini FrameworkMobile FrontendPreact
0 likes · 9 min read
Qreact: A Mini React Framework for Mobile Front‑End Optimization
Baidu Waimai Technology Team
Baidu Waimai Technology Team
Mar 16, 2017 · Frontend Development

Evolution of Componentization in the Operations Backend Platform: From FIS to React and the Third‑Generation Solution

This article outlines the rapid growth of Baidu Takeaway's operations backend, analyzes the limitations of the FIS‑based modular approach, describes the transition to React‑Redux componentization, and presents a third‑generation, model‑driven component sharing platform designed to reduce repetitive development and improve developer happiness.

Code ReuseComponentizationFrontend
0 likes · 12 min read
Evolution of Componentization in the Operations Backend Platform: From FIS to React and the Third‑Generation Solution
Taobao Frontend Technology
Taobao Frontend Technology
Feb 13, 2017 · Frontend Development

How Rax Is Revolutionizing Multi‑Platform Frontend Development

Rax, an open‑source React‑compatible framework launched by Alibaba, unifies web, Weex, and Node.js rendering through a driver architecture, offering a tiny bundle size, multi‑node support, and standardized APIs to enable developers to write once and run everywhere across mobile, web, and emerging platforms.

RaxReActmulti‑platform
0 likes · 11 min read
How Rax Is Revolutionizing Multi‑Platform Frontend Development
Tencent Cloud Developer
Tencent Cloud Developer
Jan 25, 2017 · Frontend Development

Understanding React: Component Architecture, Props, State, Lifecycle, Server‑Side Rendering, and React‑Native

Zuo Ming explains React’s component architecture—props, state, lifecycle methods, server‑side rendering, and React‑Native—using a bamboo water‑wheel analogy, demonstrating prop validation, state updates, lifecycle phases, SSR hydration, cross‑platform code reuse, and unit testing to give front‑end engineers a complete practical foundation.

PropsReActReact Native
0 likes · 12 min read
Understanding React: Component Architecture, Props, State, Lifecycle, Server‑Side Rendering, and React‑Native
Tencent Cloud Developer
Tencent Cloud Developer
Jan 24, 2017 · Frontend Development

React Fundamentals: Understanding Virtual DOM, JSX, and Component Architecture

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 ArchitectureJSXReAct
0 likes · 9 min read
React Fundamentals: Understanding Virtual DOM, JSX, and Component Architecture
Qunar Tech Salon
Qunar Tech Salon
Jan 18, 2017 · Frontend Development

React Performance Optimization for YIcon: Reducing Re‑renders and Boosting Speed

This article describes how the YIcon project tackled severe React performance bottlenecks—such as repeated renders, slow diffing, and inefficient key usage—by applying shouldComponentUpdate, component splitting, immutable data structures, stable keys, and production‑grade webpack optimizations, ultimately achieving an 80% speed gain.

ImmutableOptimizationPerformance
0 likes · 9 min read
React Performance Optimization for YIcon: Reducing Re‑renders and Boosting Speed
Hujiang Technology
Hujiang Technology
Jan 10, 2017 · Frontend Development

Scaling React Applications: Containers vs Components, Feature‑Based Code Organization, CSS Modules, PostCSS Auto Reset, and Redux‑Saga

This article shares lessons learned from releasing React Boilerplate 3.0, covering the importance of front‑end scalability, the distinction between container and presentational components, feature‑based code organization, CSS Modules and PostCSS Auto Reset for style isolation, and using redux‑saga for readable, testable asynchronous flows.

CSS ModulesFrontend ArchitectureReAct
0 likes · 9 min read
Scaling React Applications: Containers vs Components, Feature‑Based Code Organization, CSS Modules, PostCSS Auto Reset, and Redux‑Saga
Qunar Tech Salon
Qunar Tech Salon
Jan 5, 2017 · Mobile Development

Hy Hybrid Mobile Framework: Architecture, Philosophy, and Evolution at Qunar

The article introduces Qunar's Hy hybrid mobile framework, detailing its motivation, cross‑platform architecture, progressive component design, integration of Web and Native capabilities, evolution from Hy 1.0 to Hy 2.0 with React, and its relationship to React‑Native, highlighting how it enables fast, low‑cost mobile development.

Cross‑PlatformHybrid MobileMobile Development
0 likes · 10 min read
Hy Hybrid Mobile Framework: Architecture, Philosophy, and Evolution at Qunar
Hulu Beijing
Hulu Beijing
Dec 8, 2016 · Frontend Development

Why React & Redux Are Transforming Hulu’s Frontend Development

This article explains the fundamentals of React and Redux, compares them to traditional tools like jQuery, highlights their combined benefits for clean state management, and describes Hulu’s ongoing migration to this modern frontend stack.

FrontendReActRedux
0 likes · 5 min read
Why React & Redux Are Transforming Hulu’s Frontend Development
Hujiang Technology
Hujiang Technology
Dec 2, 2016 · Frontend Development

Best Practices for Using AJAX in React Applications

This article reviews four common approaches—Root Component, Container Component, Redux Async Actions, and Relay—for handling AJAX requests in React, explains when each method is appropriate, and warns against two anti‑patterns, helping developers choose the most suitable strategy for their project's size and architecture.

AJAXBest PracticesReAct
0 likes · 8 min read
Best Practices for Using AJAX in React Applications
Architecture Digest
Architecture Digest
Nov 5, 2016 · Frontend Development

Webpack2 React‑Redux Boilerplate: Architecture, Features, Configuration and Best Practices

This article introduces a Webpack2‑based React‑Redux boilerplate, detailing its architecture, core features, configuration options, development workflow, server‑side rendering support, and best‑practice recommendations, while providing code examples and guidance for both beginners and experienced frontend developers.

Best PracticesFrontendReAct
0 likes · 18 min read
Webpack2 React‑Redux Boilerplate: Architecture, Features, Configuration and Best Practices
Qunar Tech Salon
Qunar Tech Salon
Oct 26, 2016 · Frontend Development

Improving Iconfont Platform Performance with React Isomorphic Rendering

The article examines the inefficiencies of an outdated internal iconfont platform, explores the drawbacks of separate front‑end and back‑end rendering, and presents a React‑based isomorphic solution that unifies package management and module loading, resulting in dramatically faster first‑page loads and easier maintenance.

Frontend ArchitectureReActServer-side Rendering
0 likes · 9 min read
Improving Iconfont Platform Performance with React Isomorphic Rendering
Taobao Frontend Technology
Taobao Frontend Technology
Aug 25, 2016 · Frontend Development

Why React Keys Matter: Preventing Bugs in Dynamic Lists

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.

JSXKEYReAct
0 likes · 11 min read
Why React Keys Matter: Preventing Bugs in Dynamic Lists
21CTO
21CTO
Jun 16, 2016 · Frontend Development

Mastering React Performance: Real-World Optimizations for Mobile Apps

This article shares practical React performance‑optimization techniques—such as using the Virtual DOM wisely, integrating Immutable.js, fine‑tuning shouldComponentUpdate, and applying code‑splitting and Redux data management—to dramatically improve first‑paint time and interaction smoothness on mobile web applications.

Immutable.jsReActRedux
0 likes · 21 min read
Mastering React Performance: Real-World Optimizations for Mobile Apps
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Jun 12, 2016 · Frontend Development

Master Webpack: From Basics to Advanced Configuration

This article introduces webpack, explains its advantages, guides through installation, configuration, loaders, plugins, and practical usage examples, covering module formats, shimming, extracting CSS, CDN integration, and integration with tools like Gulp, providing a comprehensive beginner‑to‑intermediate tutorial.

Build ToolsReActfrontend development
0 likes · 15 min read
Master Webpack: From Basics to Advanced Configuration
21CTO
21CTO
Jun 9, 2016 · Frontend Development

How We Optimized React for Mobile: Lessons from HandQ School Group Refactor

This article details the challenges and solutions encountered while refactoring the HandQ school‑group web app with React, covering React's core features, performance pitfalls, the use of Immutable.js and pure‑render decorators, build‑tool choices, and concrete optimization tips that yielded measurable speed gains.

Immutable.jsReActRedux
0 likes · 20 min read
How We Optimized React for Mobile: Lessons from HandQ School Group Refactor
Tencent Music Tech Team
Tencent Music Tech Team
May 11, 2016 · Frontend Development

Implementing Isomorphic ReactJS Server-Side Rendering with Redux and React Router

The article details how to set up isomorphic ReactJS server‑side rendering using ReactDOMServer, Redux for shared state, and React Router for universal routing, covering data fetching, Webpack builds for client and Node, code‑splitting, and performance trade‑offs such as CPU overhead and caching strategies.

IsomorphicPerformanceReAct
0 likes · 10 min read
Implementing Isomorphic ReactJS Server-Side Rendering with Redux and React Router
21CTO
21CTO
May 7, 2016 · Frontend Development

Choosing the Right Front-End Framework: Trends, Comparisons & Future Outlook

This article reviews recent advances in front‑end development, compares popular frameworks such as AngularJS, EmberJS, ReactJS and VueJS, examines their evolution, discusses user and developer needs, and offers guidance on which technologies to invest in for the coming years.

AngularFrontendJavaScript
0 likes · 12 min read
Choosing the Right Front-End Framework: Trends, Comparisons & Future Outlook
Meituan Technology Team
Meituan Technology Team
Apr 8, 2016 · Frontend Development

Boosting Frontend Efficiency: Meituan’s Node.js, React, and Engineering Automation Insights

The Meituan‑Dianping tech salon recap reveals how their frontend teams leverage Node.js for high‑traffic services, Docker‑based builds, a custom monitoring tool, a React‑powered H5 publishing platform, modern engineering scaffolds, and the Vane API integration system to dramatically improve development speed and reduce costs.

DockerNode.jsReAct
0 likes · 8 min read
Boosting Frontend Efficiency: Meituan’s Node.js, React, and Engineering Automation Insights
21CTO
21CTO
Feb 11, 2016 · R&D Management

Why Does Facebook Keep Launching Hundreds of Open‑Source Projects?

Facebook’s prolific open‑source strategy, driven by a culture that encourages engineers to build experimental tools like React and GraphQL, illustrates how the company balances risk, internal opposition, and talent attraction to turn many side projects into influential technologies.

FacebookReAct
0 likes · 6 min read
Why Does Facebook Keep Launching Hundreds of Open‑Source Projects?
Architect
Architect
Dec 7, 2015 · Frontend Development

How to Structure a React Project

This article discusses practical approaches to organizing a React project, comparing single‑file setups with modular multi‑file structures, component directories, testing strategies, data handling, and view integration, emphasizing pragmatic, maintainable architecture over rigid conventions.

Best PracticesComponent OrganizationFrontend Architecture
0 likes · 6 min read
How to Structure a React Project
Architect
Architect
Oct 24, 2015 · Frontend Development

Case Study: React.js, Redux, and Node.js Architecture for Baidu Mami E‑commerce WebApp

This article presents a detailed case study of a mobile‑first single‑page web application built with React.js, Redux, React‑router, and a custom Node.js framework, describing the technology selection, development workflow, encountered challenges, and the advantages and drawbacks of the chosen stack.

Frontend ArchitectureNode.jsReAct
0 likes · 10 min read
Case Study: React.js, Redux, and Node.js Architecture for Baidu Mami E‑commerce WebApp
Meituan Technology Team
Meituan Technology Team
Jul 16, 2015 · Frontend Development

Componentization Development Practices at Meituan: From Version 1.0 to 3.0

Meituan’s componentization journey progressed from early resource‑centric modules (1.0) through mature lifecycle, data‑binding, and Flux integration (2.0) to a React‑based, NPM‑distributed, Reduce‑bundled, Turbo‑enhanced ecosystem (3.0), systematically reducing front‑end complexity while boosting reuse, performance, and full‑stack development efficiency.

Component ArchitectureData BindingFlux
0 likes · 14 min read
Componentization Development Practices at Meituan: From Version 1.0 to 3.0