Skip to content

Workaround with React.lazy #103

@errand

Description

@errand

The problem is that when the first render there is a Suspence instead of actual Components, so no Hash anchor exists yet. In this case then user comes outside the site he doesn't scroll down to the anchor component.

I tried to add anchors outsite the

<h2 id={'second'}></h2> <Suspense fallback={<div>Загрузка...</div>}> <Section2 /> </Suspense> 

but no. Any ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions