Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Next.js migration #45

Closed
11 tasks done
gorzelinski opened this issue Jun 24, 2023 · 1 comment
Closed
11 tasks done

Next.js migration #45

gorzelinski opened this issue Jun 24, 2023 · 1 comment
Assignees

Comments

@gorzelinski
Copy link
Owner

gorzelinski commented Jun 24, 2023

Is your feature request related to a problem? Please describe.

Although Gatsby is great for building things fast with plugins, it's a double-edged sword. The official theme for internationalization is no longer maintained. The last change is from two years ago. Because many plugins rely on this one, it blocks the ability to update them.

Describe the solution you'd like

I want to migrate the whole project to Next.js. It is the most popular static site generator on the market right now. But hype shouldn't be a decisive factor in choosing a tool. The tool should be proper for the job. However, Next.js power many blogs, and they work nicely. Migrating a website is also an opportunity to learn new stuff. Migration may be tricky. There are many tasks to copy all functionality:

  • Update packages and dependencies.
  • Delete Gatsby-specific scripts.
  • Add Next-specific scripts.
  • Change folder structure.
  • Change routing.
  • Copy CSS-in-JS styling.
  • Update Link component.
  • Change data fetching strategy.
  • Update Image component.
  • Update SEO component.
  • Deploy on Vercel.

Describe alternatives you've considered

There are unofficial plugins for i18n. There is also an option to build everything by hand from scratch. But, relying on such plugins is risky, and reinventing the wheel is not the best idea.

Additional context

Helpful migration guides:

The issue that describes the problem with I18n - #36.
The TypeScript migration can be a follow-up - #37.

@gorzelinski gorzelinski self-assigned this Jun 24, 2023
@gorzelinski
Copy link
Owner Author

Closed by: #55

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant