-
Notifications
You must be signed in to change notification settings - Fork 1
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
Migrate to next.js
#112
Merged
Merged
Migrate to next.js
#112
Conversation
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
…json` as there is a standalone `.eslintrc.json` from `next.js`
…xt.js` and removed leftover dependencies from `create-react-app`
…n` as a temporary workaround
…owngrade `@types/react` and `@types/react-dom` back to `v17.x.x` because of the breaking changes in version 18 that could not be fixed until either material-ui is upgraded to v5 or this PR (DefinitelyTyped/DefinitelyTyped#59751) is merged Note this codemod (https://github.com/eps1lon/types-react-codemod) would not help because the errors are caused by library (see this facebook/react#24304 (comment) for the details) References: 1. https://stackoverflow.com/questions/71810438/compilation-issue-with-react-typescript-and-material-ui-4 2. DefinitelyTyped/DefinitelyTyped#56210 (comment) 3. facebook/react#24304 (comment) 4. https://classic.yarnpkg.com/lang/en/docs/selective-version-resolutions/ 5. facebook/react#24304 (comment)
…rning `react/no-unescaped-entities`
… as a temporary workaround
…add module aliases in order to fix broken tests
…de-in / fade-out effect when `pathname` has changed (instead of applying the effect every time when components has changed which is overkill)
…ft at contact page
…e and split pages into different component for better first load time and UX
…ty` at `README.md`
…indows incompatibility) at `package.json`
…hub/workflows/node.js.yml`
…aterial-ui` and `next.js` styles incompatibility issue (reference: https://stackoverflow.com/a/67276953)
…terial-ui` and `next.js` by using some temporary hacks to make sure the classNames are deterministic (reference: https://v4.mui.com/styles/advanced/#class-names)
… hacks to manaully match the` pathname`
This was referenced Apr 18, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
And as a bonus, this will upgrade
react
tov18.0.0
as wellAnd this will fix #109, fix #103, close #85, close #62 and close #108
TODO checklist:
next.js
dependenciesnext.js
create-react-app
dependencies, e.g.react-scripts
next.js
(e.g. app architecture, build pipeline)GitHub
actions
CIfixstorybook
storybook
after migration tonext.js
#114Home
,Portfolio
andContact
pagesdark
/light
mode)PWA
checkclean up and removed unused old codes / assets@makotot/ghostui
to replace usage ofreact-scrollspy
#113