Skip to content

Enhance recipes app, add App Router path to validate that flow #57

@hamlim

Description

@hamlim

The recipes app right now is using the pages router in next, it'd be nice to validate the App Router works as expected as well.

Figure we could:

  • Add an /app-router route (via app/layout.js, app/app-router/page.js)
  • Have it take a pokemon name via a query param, e.g. ?name=Pikachu
  • Fetch from the GQL endpoint in a server component

Basically the same as the getServerSideProps demo already there

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions