Skip to content

Migrate to Next.js #25

Description

@ezhlobo

There are two key advantages for us that Next.js has over CRA:

  • Built in server side rendering
  • Better optimization

Due to them I think it makes sense to run an experiment and see if we can build our framework on top of Next.js that covers our needs.


Progress

tree/migrate-to-nextjs

  • dreact app
    • start (plus build)
      • Delegates to next.js
      • Adds Pug
      • Supports our file structure
      • more
    • Supporting polyfills
  • dreact env-sync
  • dreact test
  • dreact lint
    • js
    • styles
  • dreact book
    • start (plus build)
      • more

Useful new features

  • Make sure .gitignore contains necessary files
  • Handle Routes inside dreact (this is important because Nextjs requires some efforts to maintain routes and in most cases will ask you to use third-party solutions such as next-routes)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions