Skip to content

using Typography.Link in history mode causes page to re-render #33770

@Dunqing

Description

@Dunqing
  • I have searched the issues of this repository and believe that this is not a duplicate.

Reproduction link

Edit on CodeSandbox

Steps to reproduce

cc codesandbox

What is expected?

在history模式下期望与react-router-dom的link达到同样的效果

What is actually happening?

在history模式下使用了Typography.Link会导致页面re-render

Environment Info
antd 4.18.4
React 17
System Windows
Browser Chrome

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions