Open motleydev opened 4 years ago
I'm trying to figure out how to transpile my function so I can re-use React markup and renderToStaticMarkup for more manageable templates. Any suggestion on a good approach here?
That's a good idea. I don't know how to do that though. Node API's createPage takes component parameter and somehow create it. It might be helpful.
component
I'm trying to figure out how to transpile my function so I can re-use React markup and renderToStaticMarkup for more manageable templates. Any suggestion on a good approach here?