flags
flags copied to clipboard
Flags for Next 13 app dir
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 });
};
I was wondering if the APIs are going to be updated to accommodate Next 13's app dir?
Yes, absolutely. I'm waiting on something inside of Next.js for this to be possible.