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

[enh] update to nextjs 14 #162

Merged
merged 9 commits into from
Jul 2, 2024
Merged

[enh] update to nextjs 14 #162

merged 9 commits into from
Jul 2, 2024

Conversation

marco-souza
Copy link
Contributor

@marco-souza marco-souza commented Jun 28, 2024

Descrição

This PR upgrades a few packages

Changes

  • nextjs
  • chakra
  • react
  • typescript
  • dependent packages

TODO

  • move to src/app

This closes #160

Copy link

vercel bot commented Jun 28, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
webapp ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 2, 2024 0:45am

@marco-souza marco-souza changed the base branch from main to marco/biome June 28, 2024 18:56
packages/hooks/useIsClient.tsx Outdated Show resolved Hide resolved
pages/_app.tsx Outdated Show resolved Hide resolved
@marco-souza marco-souza added this to the Manutenção milestone Jun 28, 2024
@marco-souza marco-souza changed the title Marco/nextjs 14 [enh] update to next 14 Jun 28, 2024
@marco-souza marco-souza linked an issue Jun 28, 2024 that may be closed by this pull request
5 tasks
@marco-souza marco-souza changed the title [enh] update to next 14 [enh] update to nextjs 14 Jun 28, 2024
@frattezi
Copy link
Contributor

Screenshot 2024-06-29 at 14 07 24
GLHF

<Component {...pageProps} />
</Layout>,
providers,
const isClient = useIsClient();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is too queiiizy. Can we refactor that and use correct server/client side component composition to avoid this types of checks?

We can schedule a task for that.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@frattezi We can, but it'd require some refactoring. I'm planning to move to tailwind + daisy-ui in an upcoming PR

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed

@frattezi frattezi self-requested a review June 29, 2024 17:11
@marco-souza marco-souza merged commit 84642a1 into marco/biome Jul 2, 2024
3 checks passed
@marco-souza marco-souza deleted the marco/nextjs-14 branch July 2, 2024 12:46
marco-souza added a commit that referenced this pull request Jul 2, 2024
* fea: setup biome

* fix: yarn fmt

* ref: remove lottie related files

* ref: format everything

* fix: remove prettier

* fix: remove eslint

* fix: yarn build

* fix: tab size

* fix: playwright

* enh: update gh action

* enh: update ci

* fix: ci

* oth: fmt

* fix: adjust biome spacing

* fix: run fmt

* [enh] update to nextjs 14 (#162)

* enh: upgrade packages

- nextjs
- react & react-doom
- typescript

* enh: upgrade ts

* fix: ssr rendering issue

* fix: fmt

* enh: run playwright tests on prs

* enh: playwright test

* enh: run playwright tests for all PRs

* fix: next export

* fix: remove export
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

Successfully merging this pull request may close these issues.

Migrate to latest nextjs version
2 participants