Skip to content
This repository was archived by the owner on May 30, 2025. It is now read-only.
This repository was archived by the owner on May 30, 2025. It is now read-only.

Flags for Next 13 app dir #46

@richardantao

Description

@richardantao

I haven't seen much activity lately, but I was wondering if the APIs are going to be updated to accommodate Next 13's app dir?

I want to move my code from the pages dir to the new app dir but am currently bound to use getServerSideProps because getFlags requires context as an input.

export const getServerSideProps = async context => {
    const { initialFlagState } = await getFlags({ context });
};

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