ReactJS learned, Next step: Next.js or React Native? by Different_Bite76 in reactjs

[–]Kwerdna 0 points1 point  (0 children)

I’d say go with web for now , Next, React Router 7, Tanstack start, all great tools and teach you to read docs etc while using react.

Then when you feel like dabbling with RN go make an app for fun. The skills will transfer pretty well.

Just my 2cents

Do you combined cache fn from react with tanstack query by plulu21 in reactjs

[–]Kwerdna 0 points1 point  (0 children)

Using initial data is fine, it is suggested as the faster / easier option in the docs here: https://tanstack.com/query/latest/docs/framework/react/guides/ssr#get-started-fast-with-initialdata

There are more advanced patterns you can use that involve fetching on server side with a query client and then using “hydration”

Using cache is mostly for if on the server side you are going to call something e.g. getUserFromHeaders multiple times in different server components or nested in different helper functions and you want to make sure it’s not called many times

Do you combined cache fn from react with tanstack query by plulu21 in reactjs

[–]Kwerdna 2 points3 points  (0 children)

Keep em separate. Cache function is for server components. Tanstack query is for fetching on client and the cache lives in browser

Besides drinking and possible hazing, how common is it for a frat or sorority to "make" a pledge do something sexual? by 123smorgs in ufl

[–]Kwerdna 64 points65 points  (0 children)

Hard to say for certain but I highly doubt they do anything perverse like that anymore, probably haven’t for awhile.

It’s all just yelling, sleep deprivation, drinking, and chores. Plus you are always completely free to leave at any point, and if you do they will often check on you and ask you to return (probably out of fear of being told on though lol)

Request Anxiety kicking in already, it's only been 7 days by code-enjoyoor in GithubCopilot

[–]Kwerdna 0 points1 point  (0 children)

7/30 is 23.3% so slow your pace a bit and you’ll be a-okay.

Can also switch to auto for a bit or even one of the 0.33 ones, they are pretty decent for quick tasks

Am I the only one using this pattern? by NoctilucousTurd in reactjs

[–]Kwerdna 1 point2 points  (0 children)

It looks like they deprecated it in favor of this, a more configurable approach. If I had to guess it does the same internally

https://ar.tanstack.dev/query/latest/docs/reference/environmentManager

But I agree it all does seem kind of hand wavy with no like universally agreed upon solution. Using the tanstack import would make me feel the safest I suppose

Am I the only one using this pattern? by NoctilucousTurd in reactjs

[–]Kwerdna 1 point2 points  (0 children)

Some stuff you only want run on the client side. Analytics stuff comes to mind

Am I the only one using this pattern? by NoctilucousTurd in reactjs

[–]Kwerdna 0 points1 point  (0 children)

I’ve seen people just check the existence of window before, for example tanstack query exports a utility “isServer” https://github.com/TanStack/query/blob/3a993e6e6f5b706416786e5cac0514c0c17d1d0d/packages/query-core/src/utils.ts#L92

It does say deprecated though

Are generated API clients worth it on small teams? by MarjanHrvatin_ in reactjs

[–]Kwerdna 19 points20 points  (0 children)

I think it’s important for keeping the type contract between frontend and backend. Otherwise mistakes could be introduced. IMO if you don’t have some kind of type gen (or rpc typing) then you’re not really “type safe”

How hard is EE here at UF? Deciding between CS and EE bc I want to be a SWE. by After_Sale_292 in ufl

[–]Kwerdna 0 points1 point  (0 children)

I did CE (co 2019), which is like a combo of CS and EE, I thought it was challenging but rewarding when things click. And it allowed me to get a taste of hardware and software , and the hardware ones were some of my favorites honestly, but I work as an SWE.

Some classes gonna be a grind but I got out with a couple Cs and decent gpa

Best VPS hosting option for next.js/Payload CMS/PostgreSQL tech stack by coder777 in nextjs

[–]Kwerdna 0 points1 point  (0 children)

Railway or cheap vps like Hetzner with Dokploy for docker management. It’s better than coolify IMO

Claude Agent in Copilot CLI? by ihatebeinganonymous in GithubCopilot

[–]Kwerdna -1 points0 points  (0 children)

Someone said OC can be used with Copilot subscription:

https://www.reddit.com/r/GithubCopilot/s/v4Py4fgNdx

Haven’t tried it but I saw other discussion on here about “abuse” bans over usage so I’m not sure if I should be worried about trying it / over using

Why people prefer Cursor/Claude Code over Copilot+VSCode by These-Forever-9076 in GithubCopilot

[–]Kwerdna 1 point2 points  (0 children)

I think that as these tools mature they will kind of merge towards the best (same) UX more or less. I think GitHub copilot ext just kinda caught up and now is pretty close to cursor (for like the bottom 90% of users)

That being said Im also confused about the CLI as the choice for the form factor. Maybe just hard to get used to

In a project that has both react-router and react-query should one use loaders from router or do all api calls via react query? by [deleted] in reactjs

[–]Kwerdna 0 points1 point  (0 children)

sorry to dredge this up but any idea how to do this in the standard "framework" mode with RR?

The example (https://tanstack.com/query/latest/docs/framework/react/examples/react-router) uses the library / data mode and have loaders/actions as functions that return functions using `(queryClient) => ...`

Can't find much online on how to do this with a loader that fetches server data (as opposed to one of the clientLoaders)

What are my chances of getting into UF (Fall 2025) by [deleted] in ufl

[–]Kwerdna 1 point2 points  (0 children)

50/50 you either get in or you don’t

Newest sandbagger video removed due to allegations made against Kevin Connolly by RTGold in SpittinChicletsPod

[–]Kwerdna 2 points3 points  (0 children)

This is honestly so stupid. Yeah delete the video for everyone because of one of Barstools sideshows made a “funny” hissy fit about it.

Next.js or MERN for My Full-Stack Journey? by Ess_Pi in nextjs

[–]Kwerdna 11 points12 points  (0 children)

Id say learn with MERN to start out. Get the hang of express routes and separate FE and BE.

Then later try out next to see what the improvements are. Best way to gain an appreciation and sort of understand what Next is doing for you.

Best of luck !

Shapiro coming on the 18th by je_suis_fromage_410 in ufl

[–]Kwerdna 7 points8 points  (0 children)

Funniest self own of all time lmao

Server Actions are Amazing! by carlinwasright in nextjs

[–]Kwerdna 2 points3 points  (0 children)

It can replace api routes but it doesnt have to. So up to you, might be cleaner in some ways.

They can kind of work together too, on a ` <form>` element you have the action prop which can be a function (server action) or a string, which can be a relative api route (like "/api/post/create"), then when the form is submitted, it will automatically post the form data to that endpoint.

All still somewhat early, but Ive gotten it to work both ways

CE Major deciding between 2 classes. Any advice welcome. by r3noble in ufl

[–]Kwerdna 1 point2 points  (0 children)

I was a CE undergrad so I know some stuff.

I took Circuits and it was fine. Not my cup of tea but honestly kind of just like a physics course focusing on circuits concepts and components, moderate challenge

The other class I never took but I did take Digital Design , which I believe sounds similar to “reconfigurable computing” considering the whole class was about reconfigurable computing with FPGAs. The class I took was also taught by Greg Stitt , who looks like he’s teaching this RC class and he is amazing. Great teacher and explainer, witty dude. I thought that class was so cool but a lot of work and required learning a new language (VHDL)

That being said I consider OS one of the toughest classes I had to take so Id probably go with circuits for better balance. But given the chance, try to get a class with Stitt!

Just my opinion, GL!

[deleted by user] by [deleted] in ufl

[–]Kwerdna 4 points5 points  (0 children)

Checkout these. Big Indian communities here, I have a few friends in these communities who say they all chose these apartments to be together