I have layout that includes a category section like this that coming from database,(The data may change after taking the build) What is the proper Next.js way to add this? If I use getInitialProps in _app.js it will disable Automatic Static Optimization, right?