Route Hashing Method
Update getStaticProps
User Context is restored within getStaticProps
through the following steps:
The User Context stored in the hashed slug is immediately parsed at the top of the
getStaticProps
function. The original path’s slug is restored in case it is needed elsewhere in the app.The Intelligems config is pulled from our CDN.
The User Context, the Intelligems config, and all other page props are merged and returned as props.