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

Migrate test app to app/ directory #1154

Merged
merged 4 commits into from
Dec 19, 2024
Merged

Conversation

NSeydoux
Copy link
Contributor

This applies the recommendations for the latest versions of NextJS.

@NSeydoux NSeydoux requested a review from a team as a code owner December 18, 2024 22:12
Copy link
Contributor Author

Choose a reason for hiding this comment

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

The root layout file is required.

@@ -1,13 +1,14 @@
'use client';
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Pages are server components by default. We want this to be a client component because we rely on window.

Comment on lines 39 to 40
redirectUrl: REDIRECT_URL,
redirectUrl: "http://localhost:3001",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Using a dynamic redirect URL was bad practice.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Change managed by NextJS

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Changes managed by NextJS

Copy link
Contributor

@edwardsph edwardsph left a comment

Choose a reason for hiding this comment

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

LGTM

@NSeydoux NSeydoux merged commit f1583b5 into main Dec 19, 2024
25 checks passed
@NSeydoux NSeydoux deleted the chore/SDK-3375/upgrade-next-to-15 branch December 19, 2024 17:03
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.

2 participants