Our great sponsors
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
export default function LoginPage() { // if i got an error it will come back with the loader data const loaderData = useLoaderData(); console.log(loaderData); return (
Welcome to Remix-Auth Exampleh1>
Based on the Form Strategy From{" "} Remix-Auth Project a> p>
Sign Inbutton> Form>{loaderData?.error ?ERROR: {loaderData?.error?.message}p> : null} div> div> ); }
In this example, I am using the Form Strategy to show a simple login flow.
Source Code - https://github.com/aaronksaunders/remix-auth-form-strategy