• Will Chen's avatar
    Enable React Compiler (#2259) · 52e5a3f1
    Will Chen 提交于
    Add babel-plugin-react-compiler to the build pipeline to enable
    automatic memoization and optimization of React components.
    
    #skip-bugbot
    
    <!-- This is an auto-generated description by cubic. -->
    ---
    ## Summary by cubic
    Enable React Compiler in the renderer Vite build to automatically
    memoize and optimize React components. This should reduce unnecessary
    re-renders and improve UI responsiveness.
    
    - **Dependencies**
    - Added babel-plugin-react-compiler and wired it into
    @vitejs/plugin-react via Babel (default config).
    
    - **Migration**
    - No code changes required; build-time only. Verify key UI flows for any
    unexpected behavior.
    
    <sup>Written for commit 64fdea33436212d3ba36aa60e5ca014eaf2ab3e5.
    Summary will update on new commits.</sup>
    
    <!-- End of auto-generated description by cubic. -->
    Co-authored-by: 's avatarClaude <noreply@anthropic.com>
    52e5a3f1
vite.renderer.config.mts 482 Bytes