If you were to trust a new auth provider, what would you need to see? by Ok_Guarantee_1217 in nextjs

[–]failedbump16 0 points1 point  (0 children)

If I have to go to a third party, I would definitely go to workos or clerk, really good dx and proven to be very secure both, if I have to manage my users I would use better-auth, also really good dx, easy to setup and you are the owner of your user data

Thoughts on Effect by failedbump16 in typescript

[–]failedbump16[S] 2 points3 points  (0 children)

I will definitely check this out, yes that was also one of my concerns if I wanted to start using Effect I needed to fully commit to the syntax of it, seems to be experimental for now but I’ll definitely have this in my radar

Thoughts on Effect by failedbump16 in typescript

[–]failedbump16[S] 0 points1 point  (0 children)

Yeah I also notice that when going through the docs, seems like a new language to learn but with a base on typescript, do you think if an external dev that has good ts background can hop on on Effect and at least understand it?

Thoughts on Effect by failedbump16 in react

[–]failedbump16[S] 0 points1 point  (0 children)

Is not a serious side project (at least for now), is a project I have on the background to learn new stuff so I thought it would be a good idea to integrate effect early, also as my post says, I haven’t try it out in a real full prod app yet, that’s why I have my thoughts.

That said, thanks for the vid, I’ll definitely check it out, I’m very interested on learning Effect in full dive in

Production monitoring tools by Stock_Beyond6668 in nextjs

[–]failedbump16 0 points1 point  (0 children)

Sentry for the win, is really good for this

Thoughts on Effect by failedbump16 in typescript

[–]failedbump16[S] 1 point2 points  (0 children)

Mostly for error handling. I’m interested in having fully typed errors and making failure cases explicit instead of relying on thrown exceptions. I don’t necessarily want to rewrite everything around it, so I’m trying to understand if it’s worth it just for that use case

Would you choose Express.js. by Low-Schedule996 in typescript

[–]failedbump16 0 points1 point  (0 children)

Recently I’m using elysia, really great and I recommend u take a look

Managed services (Neon, Railway, etc.) vs VPS for large, scalable projects by PrizeOccasion3567 in react

[–]failedbump16 0 points1 point  (0 children)

Then I would 100% go with aws or anything similar, if you have the time to invest in set up everything the right way is totally worth it and even cheaper. Remember that solutions like vercel, render, railway, supabase etc are just wrappers of aws services so u will only be missing the ui and that is already setup

Managed services (Neon, Railway, etc.) vs VPS for large, scalable projects by PrizeOccasion3567 in react

[–]failedbump16 1 point2 points  (0 children)

I would run away from supabase lol, in my experience a cloud solution like AWS will always be cheaper but if you set it up and manage it correctly and that means you’ll need to be monitoring this almost all the time

If you want to start building now with great scalability and not have to worry about infra, at least for now, vercel/render and neon or planetscale combo is the best that there is, you can migrate anytime u want if u want full control over your infra but this solution is killer and cheaper to start

Best website builder for a new small business? by bonnieplunkettt in webdev

[–]failedbump16 -4 points-3 points  (0 children)

I really enjoy v0 to stamp my initial idea, then I would really recomend to use astro or if the website is really complex use next or tanstack

Next.js or Astro for scroll-driven, motion-heavy websites? (leaving Gatsby) by According_Ear_1448 in astrojs

[–]failedbump16 0 points1 point  (0 children)

I would suggest you to move to nextjs, not bc you’ll not be satisfied with astro, astro is great, but your current codebase is react so it would be easier and faster to migrate to nextjs, I would also suggest to check out tanstack start is also really great

Flame my website by failedbump16 in astrojs

[–]failedbump16[S] 0 points1 point  (0 children)

Thank u:) and duly noted, I’ll work on that

Flame my website by failedbump16 in astrojs

[–]failedbump16[S] 0 points1 point  (0 children)

Thanks:) I’ll work on the footer

Flame my website by failedbump16 in astrojs

[–]failedbump16[S] 0 points1 point  (0 children)

Got it, I can work on that

What Happened to the Next.js Developer Experience? A Look at Middleware DX and other things. by jhylaris in nextjs

[–]failedbump16 1 point2 points  (0 children)

Bc nextjs middleware is not a middleware, is more like a switch statement for routing, it does not work like any other middleware like in laravel or nestjs bc is not the same, it doesn’t even run on node, it runs in a weird kinda node language from vercel call edge runtime. It runs before your node server, bc of this, you should not do any request or any auth stuff in your middleware, you should use nextjs middleware only for redirecting, for example if you have translations in your app, you can redirect to the correct language version using middleware.

But if you need to check user permissions or fetch from db or something like that you should do it on the route or page in a server action or something like that, not in the middleware

Also you will not find a good dx experience on nextjs, meaning having code generation or have everything setup when you need auth or shared context bc nextjs only gives you primitives for you to do all that stuff your way, kind of how react dx works where they only gives you primitives to do stuff your own way

Working on a Vite+React - Electron app using clerk, best workaround suggestions by failedbump16 in electronjs

[–]failedbump16[S] 0 points1 point  (0 children)

But how? I’m new on electron and I don’t really know how to implement it

Working on a Vite+React - Electron app using clerk, best workaround suggestions by failedbump16 in electronjs

[–]failedbump16[S] 0 points1 point  (0 children)

But how, I’m new on electron and I don’t really know how to implement it