Today I Learned what an HTTP 307 does that's subtly different from other redirect responses and that a NextJS `res.redirect()` uses it by default.
The 307 redirects to the new URL with the same request method (in my case POST). I was redirecting a form submit to an OAuth authorisation URL. Switching to an HTTP 303 swaps the method to GET and has sorted things out.
Took a bit to figure that one out! 😅
Reference: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/307
#todayilearned #til #nextjs #http
spent far too much of the weekend playing with #nextjs and #tailwind now all that beautiful declarative UI code i learned from SwiftUI and Jetpack Compose has been replaced with cryptic CSS class names.
that being said, i did manage to accomplish what i set out to do so i'll keep diving down this rabbit hole.
any one I know is running #puppeteer on @vercel using nextjs?
I would appreciate some examples ;D
#puppeteer #react #nextjs #javascript #vercel
We had a look at the new Next.js 13 features and how to integrate them with Zebra, our package to provide the full editing experience of #NeosCMS in #NextJS projects.
This article gives a preview of the new exciting possibilities with #React Server Components and the app router: https://networkteam.com/journal/2023/zebra-nextjs-app-router-and-server-components
Just built my first site using the #nextjs #javascript #framework and deployed it to #aws. Here are some of my thoughts about it: https://shaunrashid.com/articles/2023/08/27/intro-to-next-js/ #webdev
#nextjs #javascript #framework #aws #webdev
https://youtu.be/7wxu6ZoZN8Q?si=yMPFtoeO_lre7KYr
Panthalia is a #nextjs app that enables me to start rich media blog posts from my phone even while traveling or with one hand free, waiting in line.
It opens pull requests against my portfolio site and can request images of any kind via #StableDiffusion XL using Replicate.com.
In this video I explain how it all works and give a live demo, writing "The Ballad of Pizza Rat" as an example.
#AI #Vercel #Postgres #JavaScript #javascriptresources #javascripttutorial
#javascripttutorial #javascriptresources #JavaScript #postgres #Vercel #AI #stablediffusion #nextjs
NextJS with #ChartJS is the only charting library that works directly out of the box. Almost all the other rest have some issues or the other with integration.
Airbnb Visx, Nivo Charts, Apache ECharts none of these actually worked fully.
#chartjs #nextjs #react #frontend #chart #library
#nextjs Tutorial - how I built my custom opengraph image with per- post hero images and a fallback image plus dynamic titles. Demo images and code : https://www.zackproser.com/blog/opengraph-integration
🚀 Just published a new blog post on integrating HubSpot forms in a Next.js app! Elevate user engagement and streamline pipeline data with this step-by-step guide. 💼📈 👉 bit.ly/3qGXoNZ
.
#Nextjs #HubSpotForms #UserEngagement #WebDevelopment #React #TechBlog #CodeTutorial #WebDev
#nextjs #hubspotforms #userengagement #webdevelopment #react #techblog #codetutorial #webdev
Just Blogged: Exploring Sitecore XM0 Topology #Container Images 👉 tinyurl.com/sitecorexm0
.
.
.
.
#SitecoreMVP #SitecoreCommunity #SUGCON #LearnSitecore #Sitecorefriends #SitecoreFamily #Docker #DotNet #Sitecore #NextJS #React #webdevelopment #javascript #learning #learntocode #Sitecore #SUGCON #SitecoreDX #Azure #architecture #devops #SUG #chatgpt #headless #headlesscms
#headlessCMS #headless #chatgpt #sug #devops #architecture #azure #sitecoredx #learntocode #learning #javascript #webdevelopment #react #nextjs #sitecore #dotnet #docker #sitecorefamily #sitecorefriends #learnsitecore #sugcon #sitecorecommunity #sitecoremvp #container
Been diving deep into #nextjs and it seems that it's the best way to do “fullstack” with React. https://www.youtube.com/watch?v=BILxV_vrZO0
13 hours left to vote in my poll about #opensource monetization. If you're a #FOSS maintainer, please take a second to vote (thank you!):
https://me.dm/@viktor/110871465131461916
You can also find it pinned on my profile.
Boosts always appreciated 🙏👍
#linux #oss #freesoftware #python #php #react #nextjs #nodejs #wordpress #programming #software
#opensource #foss #linux #oss #freesoftware #python #php #react #nextjs #nodejs #wordpress #programming #software
Recently made a #gallery for Mastodon, powered by #nextjs. https://github.com/MrWillCom/next-mastodon-gallery
#typescript #javascript #mastodon #GitHub #nextjs #gallery
Après avoir utilisé Jekyll pendant 7 ans pour mon site perso. J'ai fait le passage sur #nextjs en codant avec #neovim pour la première fois !
Super expérience, et je vais bien garder neovim pour coder mon site. Ca donne même envie d'aller plus loin pour la config !
J'ai réussi à conserver tous les blogs posts etc. #markdown 🔥
Pour les plus curieux, on passe de https://old.badetitou.fr/ à https://badetitou.fr/ 🎆
Allez, maintenant faut que j'aille améliorer npm:bibtex-parse et #opensource
#nextjs #neovim #markdown #opensource
#WordPress quite literally saved that #nextjs project I've F been working on, last night. Literally. WordPress for the freaking win, y'all. Long live WordPress.
Any love for #Tamagui on the Fediverse? I’m new to #ReactNative but have been cutting my teeth on #NextJS for a bit and Tamagui’s Solito-powered monorepo is about the coolest thing I’ve ever seen.
Hallo #React- und Frontend-Interessierte in #Münster! 👋
Am 24. August gebe ich eine Einführung in #NextJs auf dem Meetup der "Frontend Freunde Münster".
Kommt doch vorbei und diskutiert mit über Fullstack-Entwicklung und andere spannende Themen.
Hier der Link zur Anmeldung mit weiteren Informationen: https://www.meetup.com/frontend-freunde/events/294759220/
Freue mich auf Eure Teilnahme! 😊
Introducing #google Project IDX, An Experiment to Improve Full-stack, Multiplatform #App #Development
At the heart of Project IDX is our conviction that you should be able to develop from anywhere, on any device, with the full fidelity of local development. Every Project IDX workspace has the full capabilities of a Linux-based VM, paired with the universal access....
#Angular, #Flutter, #Nextjs, #React, #Svelte, #Vue, #JavaScript, #Dart, #Python, #Go
#google #app #development #angular #flutter #nextjs #react #svelte #vue #javascript #dart #python #go
A Next.js app requires dozens of config files — next.config.js, eslintrc.json, tsconfig.json, package.json, postcss.config.js, tailwind.config.js, and more.
How did we get here? How do we avoid it?