Skip to content

next-apollo not forwarding static properties on components it wraps #74

Description

@Xetera

If I'm not wrong, it's currently not possible to work with nested layouts in next-apollo because it doesn't forward the Layout property in an example like

const GroupMembersPage = GroupMembers;

GroupMembersPage.Layout = GroupLayout;

export default withApollo({ ssr: true })(GroupMembersPage);

to the _app page which is quite limiting. If this is something you are interested in supporting (and I don't see why not) I'm happy to open a PR for it

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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