Skip to content

How to fetch the page data? #1

@applecat

Description

@applecat

Is there a right place where I can fetch the data?
I've tried next's getStaticProps and getServerSideProps and they work only on first request after page reload. If I come to the page from another page nothing fetches. getInitialProps seems not working at all.

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