I have a doubt.. can I use a useEffect inside getStaticProps?
I'm trying to run a function inside getStaticProps... it works.. but I don't know if it is the recommended thing to do.
useEffect(() => {
remarkBody()
}, [body, blogPostCollection])
If not ... what is the best way to run it?