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

Description
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