Fredkiss3 / gh-next

A minimal Github clone built on nextjs app router.
https://gh.fredkiss.dev/
MIT License
450 stars 21 forks source link

Fix/cache issues #136

Closed Fredkiss3 closed 10 months ago

Fredkiss3 commented 10 months ago

Description

This fixes cache issues with the <Cache> component hanging on SSR, the solution we chose to go with is to just don't use the Cache component and instead cache operations inside of the <Markdown> component itself.

Additionnaly, we also fixed issues with the client references being undefined in the <Cache> component.

Type of Change