#cargo-integration-nextjs
1 messages ยท Page 1 of 1 (latest)
cargo-integration-nextjs
yeah we have a handful of docs with Next.js like the one you found, but otherwise no we don't really have much Next.js specific content
All good, just curious - we should be able to figure it out from there + react docs, but would be helpful to have next.js APP router specific docs in future ('APP router' replaced 'PAGE router' last year I think - still relatively new)
Any timeline for when additional doc support will be released?
We don't have any plan to add more docs for this right now at least. Some devs use Next.js, but it's not that common. If you look at Discord's history you'd see how much more React is asked about which is why the majority of our docs now have a React option (which wasn't true 3 years ago)
10-4 thanks ๐
I'll definitely flag your interest! It's weird because we almost never get Next.js question here on Discord but we're clearly seeing the volume of users on it growing
But it's a lot of time/investment to maintain all those JS/framework flavours over time, so we carefully think about it before going all in!
totally get it - Stripe docs look like a HUGE lift to keep current + consistent across all the different frameworks
next.js is sweet tho, looking forward to seeing more mainstream adoption over next 18 -24 months ๐
yeah we've definitely seen this go up in the past 18 months. I remember arguing with an engineer when they kept saying we needed docs for it and I said "no one asks about it" but then we clearly saw this start going up
Technologies are hard. We didn't have a React Native SDK for years. We'd get asks, but like 2/3 times a month. Now we get questions about RN every day here and it's used so much!
If you have specific questions though I'm happy to try and help you with them!
Thanks! Our issue is a mix of next.js ("client" v. "server" side render) + react.js state management to get the client secret to load asynchronously from an API endpoint we deployed (using AWS Lambda) to generate the Stripe client secret (for payment_uploads).
Right now payment <Element/> isn't rendering dynamically from API call'd client secret (only works when client_secret is harcoded)
If we haven't gotten it working by ~Tuesday next week, we'll ping you guys again - appreciate the help ๐จโ๐ป