yeah so basically because of facebook (damn u zuckerberg) there is an issue where calling cache() in client-side components causes an infinite fetch loop due to undefined behaviour with async/await not being implemented in client-side
contentlayer will not work if i use client-side components and Chakra UI must use only client-side components
the solution
REWRITE IT ALL IN TAILWIND BABYYYYYYY and make sure any component that works with contentlayer stays a server-component
the problem
yeah so basically because of facebook (damn u zuckerberg) there is an issue where calling
cache()
in client-side components causes an infinite fetch loop due to undefined behaviour withasync/await
not being implemented in client-sidecontentlayer will not work if i use client-side components and Chakra UI must use only client-side components
the solution
REWRITE IT ALL IN TAILWIND BABYYYYYYY and make sure any component that works with contentlayer stays a server-component