jgayfer, to react
@jgayfer@fosstodon.org avatar

Is (and ) the de facto way to build a web app these days? Need to put together a dashboard for one of my projects.

I don’t necessarily love the overhead of a single page app, but I also haven’t worked with NextJS before.

HTML templates are of course an option, but I don’t want to make things too hard on myself either by going against the grain.

jasonstcyr, to random
@jasonstcyr@mstdn.ca avatar

Did you try to deploy your app today to and it just doesn't work? Builds seem to be queuing up? You are not alone, there is currently an outage under investigation!

https://www.vercel-status.com/

kanapatrick, to drupal
@kanapatrick@techhub.social avatar

Curious about the future of web architecture? Wondering how Decoupled Drupal and NextJS can transform your digital presence? Look no further! Our comprehensive article breaks it all down for you.

Discover:
✅ What Decoupled Drupal is and why it matters.
✅ How NextJS integrates seamlessly into this cutting-edge architecture.
✅ The remarkable benefits it brings to your business.

But that's not all! We're not just talking the talk; we're walking the walk. As a leading provider of Decoupled Drupal services, we have the expertise and experience to take your web presence to the next level. 💼

Ready to unlock the full potential of Decoupled with NextJS? Read our article now and get in touch to explore how we can make it work for your business. 📈

📚 Read the article: https://qtatech.com/en/article/demystifying-decoupled-drupal-nextjs
📞 Contact us today: (+237) 620 415 604

Don't miss out on the future of web development. Take the first step towards a faster, more engaging, and dynamic digital presence! 🔗

chrlschn, to programming
@chrlschn@mastodon.social avatar

Been seeing a lot of this sentiment recently with . Not living up to the hype from the conf last year. On the other hand @astro is killing it! https://www.reddit.com/r/reactjs/comments/16rhrqx/astro_3_is_what_i_wished_next_13_was/

alternativeto, to random
@alternativeto@mas.to avatar

has released version 13.5, offering improved local development performance and reliability. The update includes a faster server startup, quicker Hot Module Replacement, reduced memory usage, optimized package imports, and over 438 bug fixes.
https://alternativeto.net/news/2023/9/next-js-13-5-released-with-enhanced-local-development-performance-and-bug-fixes/

jonspark, to TodayILearned
@jonspark@howdee.social avatar

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

anianimalsmoe, to random
@anianimalsmoe@sakurajima.moe avatar

Migrating out of AWS now that my 'prototyping' free credits have expired. :meowcrying:

CloudFlare pages looks nice and affordable, but darn using Next.js and switching to use Edge functions is painful. So many libraries don't work.

The new D1 database looks great, but it's in Alpha, so it'd be too stressful to use for a production site.

I also use TypeScript lazily, so running strict=true is triggering never-ending errors. :blobfoxterrified:

shaunrashid, to javascript
@shaunrashid@front-end.social avatar

Just built my first site using the and deployed it to . Here are some of my thoughts about it: https://shaunrashid.com/articles/2023/08/27/intro-to-next-js/

mattjbones, to random
@mattjbones@mastodon.social avatar

This is pretty cool https://nextjs.org/docs/app/building-your-application/data-fetching/forms-and-mutations#redirecting... has reintroduced me to the form way of performing mutations (like was originally intended) i.e sending data from the page to a server.

There's something really nice about declaring the form / inputs (even hidden ones for data that shouldn't be exposed to users) in JSX and then handling post'd form data in the action (which I guess would be "Server Actions" in ).

miunau, to typescript
@miunau@meow.social avatar

Bodyguard: new Fetch API compatible, streaming body parser (think body-parser for express but ESM- and Fetch API only).

Simple, 100% test covered, ESM-only API that's hard to mess up written in TypeScript.

Automatically parses UTF8 JSON and form data streams into JavaScript objects.

Prevents resource exhaustion by bailing early on streams that are too large, have too many (or too large) keys, or have too much nesting.

Allows nested object and array form data with dot and square bracket syntax in both multipart and URL-encoded forms.

https://github.com/auth70/bodyguard

deno_land, to node
@deno_land@fosstodon.org avatar

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?

https://deno.com/blog/node-config-hell/

bobiko, to webdev Polish

w koncu wrzucę release mojego self-projektu rowerowo-podróżniczego :) ... i bede musiał zmienić UI. z na coś znacznie lekkiego i łatwego w utrzymaniu.

dstaley, to react
@dstaley@mastodon.social avatar

My team at HashiCorp has a few senior web engineering roles open! This is the team that builds all of our public-facing sites such as hashicorp.com and developer.hashicorp.com. Our sites are built with , , and .

Happy to answer any questions!

https://www.hashicorp.com/career/5188220

nucliweb, to react
@nucliweb@webperf.social avatar

How React 18 Improves Application Performance

https://vercel.com/blog/how-react-18-improves-application-performance by @lydiahallie

schizanon, to webdev
@schizanon@mas.to avatar
schizanon, to random
@schizanon@mas.to avatar

This is my first time using 's new model.

I don't know if I'm a fan of this metadata object...

schizanon, to webdev
@schizanon@mas.to avatar

I've decided to build one of my long-time pet-projects just to hone my skills a little.

I've been working on sites professionally for about 8 years so I think I should stick to that.

My most recent job was on a app that used so I think I'll use those too.

seems like a good place to host those things.

The idea is like Foursquare/Swarm, but on !

Wish me luck!

schizanon,
@schizanon@mas.to avatar

I am really second guessing the decision to build this in .

There's a LOT of confusion around the new paradigm, the Discord is a madhouse.

I've been struggling just to get the and for the set up right. It seems most people use next-pwa but it hasn't been updated to support AppRouter yet so there's a nasty fix to do. https://github.com/shadowwalker/next-pwa/issues/424

I haven't even attempted yet.

schizanon,
@schizanon@mas.to avatar

I hate that I'm so easily defeated, and derailed by unimportant shit. I can't tell you how often I find myself stuck in "can't install the PWA". It doesn't matter, it's an optimization, I should just move on and get easier wins. But this is something I've solved in other frameworks, this should be easy, and the fact that it's not just fills me with dread. The kinds of error messages I'm seeing, about server/client doesn't bode well. I'm reminded that I'm deep in territory again.

murat, to random
@murat@synaps.space avatar

Directing a user of an airport website to the browser console... And the worse part in my opinion is, the page actually loads and then immediately removes the content to just show this message. Is this the common approach to show errors in ? is really broken nowadays :(

maxim, to programming
@maxim@mastodon.gamedev.place avatar

Programmers, developers, coders!

Let's get to know each other in Mastodon

📻 Make a repost, write what you do and where you are from
🤝 Subscribe each other
🛰️ Let this signal pass through all obstacles

Let the wave flow! Halt and Catch Fire!

cornflour,

@maxim Hi everyone, I am a developer (with maybe just a little bit of knowledge) in Canada. I mainly use , with

schizanon, to typescript
@schizanon@mas.to avatar

The project I get paid to work on takes > ten minutes to install, build, and test from a fresh repo. That's not hyperbole. It's just two built with and . There aren't even any functional !

Ten fucking minutes everytime I switch branches!!

wiewiordev, to random
sirber, to javascript
@sirber@fosstodon.org avatar

I'm regretting using for a single page application. I should have used directly...

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • thenastyranch
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • ngwrru68w68
  • provamag3
  • magazineikmin
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • anitta
  • Leos
  • tester
  • JUstTest
  • All magazines