Last active
September 18, 2020 09:42
-
-
Save sparrow/418718804cf02442a2c08dfef50c0b41 to your computer and use it in GitHub Desktop.
This code snippet is an example of using static generation to pre-render a React app with Next.js. This code snippet is from the article originally published on RubyGarage’s blog: https://rubygarage.org/blog/how-to-integrate-ssr-for-react-app
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function About() { | |
return <div>About</div> | |
} | |
export default About |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment