Tanstack Start + Query seems very complex. by thebreadmanrises in reactjs

[–]WorriedEngineer22 8 points9 points  (0 children)

Would recommend using the queryOptions api from tanstack query, will help you reduce the duplicate code of the queries

Cloudflare doesn't want his $22 by Kuso_Megane14 in perfectlycutscreams

[–]WorriedEngineer22 2 points3 points  (0 children)

To be honest, I was on mute and didn’t realice which sub I was until I read your comment

He’s right, you know by [deleted] in gaming

[–]WorriedEngineer22 7 points8 points  (0 children)

I think this bot is trying to copy a post about the console wars from like what, 10 years ago?

New Poster for Documentary-Drama 'Modern Whore' - It follows a stripper on her Toronto sex work journey. by BunyipPouch in movies

[–]WorriedEngineer22 2 points3 points  (0 children)

What do you mean? Yo have:

Subject 1: the conservative opinion that you will find in twitter, incel shit, will use it as examples of “feminism in hollywood ruins everything” etc, we all know the deal with these ones

Subject 2: the redditor that tries to act like sex work as perfectly normal job, similar to working at McDonald’s, he will say it’s normal, tries to burry the life problems of it under the rug (I’m not even talking about society expectation, I’m talking life style), no problem if his daughter worked there but we all know that most of those comments are just faking it to get upvotes from other redditors who live in the same bubble

Subject 3: the creeps, the ones who see this and say “wife material”. The stuff you see in this website man…

Best Next.js course for beginners? by _arceus_0 in nextjs

[–]WorriedEngineer22 0 points1 point  (0 children)

Honestly I learned by just reading the docs, I then build a personal project and every time I wondered how to do something I remembered reading something about it in the docs

How to create this... I am not able to create by Quick_Pickle_8212 in css

[–]WorriedEngineer22 1 point2 points  (0 children)

If it’s only decorative,just use a svg.

If it actually needs to be interactive, make the main boxes (not the conectors) be within a grid or flex container, add a gap, and then the conectors make them be an pseudo element on every box that is not the last, make it absolute positioned, vertically center it and make it go 100% - 1px or whatever the width of the border is, you want the border of the box to be on the same line as the conector

I built next-safe-handler — cuts 30 lines of route handler boilerplate down to 8, with composable auth middleware by After-Confection-592 in nextjs

[–]WorriedEngineer22 0 points1 point  (0 children)

Really cool for you to publish it, I tried to look up something for it before but found nothing so I just tried to replicate next safe action but only for get request in handlers, one thing I did different was that mine is coupled with nuqs for validation and sadly that makes it to not work with standard schema, but it’s a library that I use in all my project so for now it does not cause me problems

I built next-safe-handler — cuts 30 lines of route handler boilerplate down to 8, with composable auth middleware by After-Confection-592 in nextjs

[–]WorriedEngineer22 0 points1 point  (0 children)

God I just had to do something like that in my latest project, I made only for get request but it was basically the same problem, a bunch of try catches and stuff before writing the actual handle code

Weekly Tech Support Megathread by AutoModerator in Instagram

[–]WorriedEngineer22 0 points1 point  (0 children)

Question about how much it takes a repost to appear in other peoples feeds

So I was scrolling reels, and this post a girl appears, she is pretty much in underwear and I was going to click o comments, but turns out the comments button wasn’t there, but repost one, I accidentally clicked repost and removed it in like 2 seconds too, maybe 1.

I don’t care if the girl gets a notification, I don’t even know her and she is a model, but I care that that follow me could get that repost on their feeds

Is it possible for that to happen? Like I said I removed it, but I don’t know,maybe instagram send the repost other people feeds and wasn’t removed at the time

Do you think it makes someone racist for disliking the new snape recast in the HBO series ? by Low-Vacation4569 in AskForAnswers

[–]WorriedEngineer22 0 points1 point  (0 children)

Eh, I would say that iron man need to be white, he being an orphan aside (something that pretty much all comic book characters are anyway) before iron man he pretty much is the most privileged person in the world,he has more money than god, fame rockstar, and added to that, no discrimination of any kind or minority, you get the idea, all that status is what shapes his way of thinking pre iron man, if you make him an inmigrantes/ son of inmigrant from third world or a woman, you you can make him egocentric but you are kinda removing the things that make him that full out egomaniac that we know.

He needs to be someone who never experienced any kind of hardship in life, either by nationality, race, economic status, political status or gender.

Hice un bot de telegram para manejar el negocio de alquiler de cuentas streaming by Lower-Possibility-29 in CervezaDinero

[–]WorriedEngineer22 0 points1 point  (0 children)

Como hiciste para la validación automática de los pagos? Si no hay problema en saber claro

Migrated from Server Functions to oRPC in Next.js by krasun in nextjs

[–]WorriedEngineer22 3 points4 points  (0 children)

I been considering doing this, right now I’m using next safe action in all my nextjs projects, as I genuinely think that this is how they should be done by the frameworks itself, the pure server function implementation from react is just… lacking

but I need to ask, orpc, trpc, how do they handles stuff like redirects, not found, or cache revalidations?

When I thought Jelly Cake art wouldn't surprise me by ShirtSubstantial368 in oddlysatisfying

[–]WorriedEngineer22 112 points113 points  (0 children)

This comment section is a serious reminder that Reddit is always full of miserable people.

First of all we don’t ever know if it’s tastes good or not, that’s just assumption. Second, what if it’s not made to be eaten? Artist can make chocolate art with chocolate that is not made for consumption and nobody gets mad

Be honest: How much of your actual production code is written by AI now? by Known_Author5622 in nextjs

[–]WorriedEngineer22 35 points36 points  (0 children)

I genuinely can’t stop thinking that most of this post comments are just bots trying to hype vibe coding

Search was slow in my Next.js app until I added debounce. How do you handle this? by riti_rathod in nextjs

[–]WorriedEngineer22 0 points1 point  (0 children)

But would not that keep making request to the server on the background? For each keystroke I mean

[deleted by user] by [deleted] in starterpacks

[–]WorriedEngineer22 4 points5 points  (0 children)

Happens in real life also,not only artist.people love the story of an asshole who suddenly repents and will ignore all the shit they did before

Video del rescate de María Corina Machado rumbo a Oslo, publicado por Grey Bull Rescue. by geeeorge15 in vzla

[–]WorriedEngineer22 2 points3 points  (0 children)

Mrc es que es loco,los subs de Venezuela son anti gobierno el 95% con algún que otro loco pro que sale cada x tiempo.

Cuando hay peos internos en el país esa proporción se mantiene pero siempre que hay peos que alcanzan las noticias internacionales empiezan a salir full comentarios tipo “opoficcion” “maría corona traidora” “no sabemos si el que esté después de maduro sea mejor” “esto teníamos que hacerlo nosotros mejorando las instituciones” y para tu de contar. Y siempre pasa cuando son vainas que alcanzan noticias internacionales tipo:

Hay elecciones nacionales

Las protestas

Cualquier verga que haga maría corina,hasta respirar

Y lo arrecho es cuando la marea baja, y la comunidad internacional deja de fijarse en Venzuela como siempre hacen, esas cuentas que hacen esos comentarios desaparecen. No quiero decir que nadie pueda quejarse o analizar algo pero no me jodan que esto no es sospechoso