Open
Description
Description
On-demand revalidation and ISR is working for our top level page content on the website, however slug pages that render the Notion page content using react-notion-x are not updated until the website is rebuilt. We want our Notion content pages to be revalidated incrementally and on demand as well.
Suggested Solution
This is happening because the revalidate const is not exported on the slug pages, adding this constant will enable ISR on them. To enable on-demand revalidation the we will need to update the /api/revalidate routes to update the right paths. You may need to look into this on the Next.js documenation.