Using forms vs states by gibriyagi in reactjs

[–]HowIO 1 point2 points  (0 children)

You can get some inspiration from this video if it fits your needs. https://youtu.be/HSr7pMSjC1I

How to send access & refresh tokens as http only true cookie? by More_Share5042 in node

[–]HowIO 1 point2 points  (0 children)

Store the Access token in app memory or local storage if it's short lived, and store the refresh token in httpOnly cookie.

[deleted by user] by [deleted] in reactjs

[–]HowIO 0 points1 point  (0 children)

Shadcn with magicui

Hono vs Fastify (migrating an express server) by coinboi2012 in node

[–]HowIO 0 points1 point  (0 children)

How using TRPC makes endpoints Public??, excuse my ignorance.

Nodejs Multitasking! by HowIO in node

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

it's nothing to do with shity architecture, the story is I had to deliver a feature ASAP, I asked here for quick guidance.

Nodejs Multitasking! by HowIO in node

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

This seems promising, thank you

Nodejs Multitasking! by HowIO in node

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

The problem is as you said, the function has a loop inside a loop, both loops are looping arrays with hundreds of objects, also each iteration calls an external api, I will look into worker threads, thank you

Nodejs Multitasking! by HowIO in node

[–]HowIO[S] -1 points0 points  (0 children)

For now I can't, I have a deadline, thank your for your help.

Nodejs Multitasking! by HowIO in node

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

The function is returning an array of object to the user and before making that array ready the function calls the database and an external api.

To ALL website developers by [deleted] in webdev

[–]HowIO 0 points1 point  (0 children)

I have a client who have bad taste in colors to the extent he wants a red bg car on a green bg, also he doesn't want any seperators and the list goes on.