Skip to content
This repository was archived by the owner on Mar 1, 2022. It is now read-only.
This repository was archived by the owner on Mar 1, 2022. It is now read-only.

Reusable menu component  #9

@jacargentina

Description

@jacargentina

I need somehow to render a menubar, rendering links from some external data.

I can do it with getStaticProps in _app.js page, passing data via some react context

But that way, If only 3 of 100 pages use that menu component, then 97 pages would fetch unneeded data

This solution seems interesting, as i think it fits right? But also this requires adding withCMSPage to every page for a “possible” CMS component present on the page tree?

Thanks a lot

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