Chinese AI Coding Assistants Tested: Building a React E-Commerce Site from Scratch

    This article evaluates Chinese AI coding assistants through a realistic React project: building an e-commerce site with more than ten pages and a complete browse-to-payment flow. It defines five assessment dimensions—onboarding, task completion, UI fidelity, engineering quality, and response speed—and examines recurring issues in generated projects, including fragile builds, inconsistent visual design, superficial architecture, and coupling between mock data and business logic. It also offers practical guidance for tool selection, emphasizing consistency, data decoupling, and human review over marketing claims and raw generation speed.

    As large language model (LLM)-powered coding tools become more widely used, developers face an expanding set of choices. The gap between marketing copy and hands-on experience is often considerable. Instead of relying on official sample demos, it is more useful to test these tools against a representative real-world task. Such a test puts pressure on their capabilities and exposes the practical shortcomings they are likely to show in everyday engineering work.

    This evaluation used a specific task: building an e-commerce shopping site from scratch with React. The task is suitable because it covers several core dimensions of frontend development at once:

    • Enough pages: It involves a home/product listing page, product detail page, product purchase page, purchase success page, login page, registration page, and a user center with a dashboard, orders page, wallet for cards and coupons, and settings page—more than ten pages in total.
    • A complete business flow: The project tests whether the tool understands an end-to-end workflow, from browsing and adding items to a cart through checkout and payment receipt.
    • Genuine difficulty: Visual and interaction consistency across pages is the part that most tests a tool’s global planning ability, and it is also where AI coding assistants are most likely to fail.

    Evaluation Criteria: More Than “Does It Run?”

    Before starting, it helps to define an evaluation framework. A runnable AI coding assistant should be assessed on at least five dimensions:

    1. Interaction and onboarding experience: Is the interface friendly? Are the available modes clearly explained? Is the generation process stable and free from obvious lag?
    2. Task completion: Can the generated code run directly after a single pass, or does it require repeated repair?
    3. UI fidelity: Is mobile responsiveness implemented, are forms fully validated, and do the color scheme and layout meet a basic level of visual quality?
    4. Code engineering quality: Are styles separated from logic? Is data decoupled from views? Is the project structure reasonable?
    5. Response speed: Server response and generation speed directly affect the development rhythm. Slow tools can significantly erode the efficiency gains they promise.

    Common Problems and Lessons from the Test

    Several recurring issues emerged during the actual test and are worth watching for.

    1. “Runnable” Is Not the Same as “Usable”

    Some tools generated projects that could start, but the console reported errors continuously and required multiple rounds of repair before any result was visible. In more serious cases, the generated directory structure was disordered—for example, by nesting a same-named folder inside another folder—which caused the build to fail. After repeated attempts to fix the issue, the only practical option was to abandon the project. This shows that a model’s ability to plan project-level structure matters more than its ability to generate code in a single file.

    2. Visual Details Vary Widely at the Baseline

    Common failure patterns included product images that were all placeholders, overly sparse product detail pages, login and registration pages that broke on mobile, buttons with white text on a white background that were completely invisible, and an overall color scheme with no unified design language. These details may seem minor, but they determine the amount of follow-up work. If the frontend aesthetic does not meet a reasonable standard, the coding time saved will be consumed entirely by styling fixes.

    3. Code Architecture Is a Hidden Differentiator

    Better generation results separated styles from JavaScript and reserved extension points such as hooks and context for engineering needs. Some tools, however, created these directories while leaving their implementations empty—architecture in form only. A more common problem was mock data coupled directly to business code, which added unnecessary work when integrating real APIs later. An ideal project structure should look like this:

    1. src/
    2. ├── components/ # Reusable components
    3. ├── pages/ # Page-level route components
    4. ├── styles/ # Centralized styles
    5. ├── mock/ # Mock data decoupled from views
    6. └── context/ # Global state management

    4. Mode Choice Affects Output Quality

    Mainstream tools generally offer different levels of autonomy, from suggestion-based completion to task-based automated execution. In the test, high-autonomy modes built quickly but had weaker structural control for complex projects. Architecture-oriented modes responded more slowly, but they were more likely to produce maintainable code when handling complex tasks. Developers should switch modes according to task complexity rather than pursuing “full automation” at all costs.

    Practical Advice for Tool Selection

    Based on this exercise, several practical lessons emerge:

    • Start with a small project you already know. Use your own standards to judge code quality rather than relying on official demos.
    • Make consistency a core criterion. Visual unity across multiple pages, route connections, and data flow reveal a tool’s real capability more clearly than isolated snippets.
    • Focus on data decoupling. Insist that the tool keep mock data in independent modules to avoid later refactoring costs.
    • Keep a human fallback in the process. No matter how intelligent the tool is, mobile responsiveness, form validation details, and visual polish still require developer review and correction.

    Conclusion

    AI coding assistants are moving from code completion toward task delivery, but there is still a clear gap before delivered output can be shipped directly. When choosing a tool, it is better to test it with a real, complete, and difficult business task than to focus on marketing parameters. For developers, the value of a tool is not only how quickly it generates code, but how usable and maintainable the output is. That is the true efficiency metric in the zero-to-one process.