stytchauth / stytch-nextjs-integration Goto Github PK
View Code? Open in Web Editor NEWA demo application featuring Stytch's Consumer authentication suite built on Next.js
Home Page: https://www.stytchdemo.com
License: MIT License
A demo application featuring Stytch's Consumer authentication suite built on Next.js
Home Page: https://www.stytchdemo.com
License: MIT License
next-dev.js:20 Warning: validateDOMNesting(...): <tr> cannot appear as a child of <table>. Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser.
at tr
at table
at div
at SessionDemo (webpack-internal:///./components/SessionDemo.tsx:19:83)
Uncaught Error: Hydration failed because the initial UI does not match what was rendered on the server.
at throwOnHydrationMismatch (react-dom.development.js:12507:1)
at tryToClaimNextHydratableInstance (react-dom.development.js:12535:1)
at updateHostComponent (react-dom.development.js:19902:1)
at beginWork (react-dom.development.js:21618:1)
at beginWork$1 (react-dom.development.js:27426:1)
at performUnitOfWork (react-dom.development.js:26557:1)
at workLoopSync (react-dom.development.js:26466:1)
at renderRootSync (react-dom.development.js:26434:1)
at performConcurrentWorkOnRoot (react-dom.development.js:25738:1)
at workLoop (scheduler.development.js:266:1)
at flushWork (scheduler.development.js:239:1)
at MessagePort.performWorkUntilDeadline (scheduler.development.js:533:1)
When trying the live version o this template I get the following error. My assumption is that it does not parse the email input but I did not dig further than look at this line: https://github.com/stytchauth/stytch-nextjs-integration/blob/main/lib/emlUtils.ts#L5.
I thought it was due to tokens not being set but when deployed to Vercel, it also fails there.
keep a record for up date
Hi, I could not find the source repo for @stytch/nextjs, that's why I write this issue here. In a nutshell, the name of the @stytch/nextjs package is confusing if used in a sever rendering environment which is not specifically nextjs
, e.g. remix
. Also, if you take into account the fact, that next
is neither in the dev nor in peer - dependencies of the package, there is nothing really compelling about the naming choice for it. But people get really confused when they see a next
package in a remix
repo.
Now that the App Router is stable, would be great to have an example of how to do this with the new App Router.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.