When using getStaticProps, does it matter for loading speed if heavy logic is executed inside getStaticProps or the component itself? #39180
Unanswered
florianwalther-private
asked this question in
Help
Replies: 1 comment 5 replies
-
That entirely depends on how |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
My blog posts are all pre-rendered using
getStaticProps
. Right now, I'm parsing markdown to HTML insidegetStaticProps
and do some processing there.I now want to switch to react-markdown, which moves the markdown processing into the component itself. Will this have an impact on the loading speed of the page, or does it not matter because it's all run and compile-time?
Beta Was this translation helpful? Give feedback.
All reactions