[FEATURE] Migrate to Next.js
See original GitHub issueDescription
By moving to next.js we could add and use several features by benefiting from the server component:
- Use SSR to prerender our pages on the server for performance optimization
- Maybe use ISR to dynamically re-render the index page to highlight a different profile every day on the index page
- Use a database connection to store how often a page got clicked
- Don’t use PrimeReact, but use Tailwind for creating our custom components
wdyt @eddiejaoude
Things like adding Cypress and/or other addition could come in future PRs. I think for us it’s important to migrate with an MVP first.
We could use a staging
branch, similar on how we did it for the API rewrite, to have things a bit more atomic, and not just a single big-bang
TO DO
- by default hide stats and enable with json config
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:11 (9 by maintainers)
Top Results From Across the Web
Migrating from Create React App - Next.js
If you want to move your existing Create React App to Next.js and keep a Single-Page App, you can move your old application's...
Read more >Migrating to Next.js: Incrementally Adopting Next.js
The second strategy is to create a new Next.js app that points to the root URL of your domain. Then, you can use...
Read more >Next.js 13 Upgrade Guide
When combined with new Next.js 13 features such as special files and layouts, migration means new concepts, mental models, and behavioral changes to...
Read more >Upgrade Guide - Next.js
Migrating shared features. Next.js 13 introduces a new app directory with new features and conventions. However, upgrading to Next.js 13 does not require ......
Read more >Migrating from React Router - Next.js
Migrating from React Router ; Decrease bundle size by removing React Router as a dependency. Define your application routes through the file system....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
hey @joshi-kaushal we have a lot to do, I need to create some issues for this, but for now, here are some ideas
nextjs
branch for@TODO
I just pushed to this PR the updated the docs in the README and added an
.env.example
file where you can copy this file to.env
(update the connection as required)Thank you for the feedback 👍