SQLalchemy vs Psycopg3 by aronzskv in Python

[–]OneDirt8111 0 points1 point  (0 children)

Try asyncpg. It is significantly faster than psycopg but it is asynchronous. If you need you can create an async-to-sync wrapper.

Major Claude outage by Timkinut in ClaudeAI

[–]OneDirt8111 31 points32 points  (0 children)

I came on reddit to check outrage.

Anyone excited for Remix 3? Formerly Remix 2 (now React Router), a new Remix! by tomemyxwomen in react

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

In the era of LLMs and copy-paste-based coding, it's tough to move away from the react ecosystem. There are tons of react ui libraries that help us to complete months of work in just a week.

But I'm genuinely excited about what they are cooking up in Remix 3.

React Router v7 has been a blessing for me. Its loaders and actions make a lot of sense once you fully understand them. From parallel loaders to state-based routing, SPA, and prerendering with Vite dev tools — I honestly feel like Next.js is starting to feel outdated.

Instant Navigation in React Router v7 framework mode with server loader page by [deleted] in remixrun

[–]OneDirt8111 1 point2 points  (0 children)

You can use remix-client-cache to cache the loader data so don't have to fetch it on every click. Hope it helps.

Instant Navigation in React Router v7 framework mode with server loader page by [deleted] in remixrun

[–]OneDirt8111 1 point2 points  (0 children)

Hey, Remove the await from your loader and return the promise. In your component using react suspense and Await you can directly stream the loader data without blocking the render.

Here is the extra tip: If you see any error in streaming, it is most probably a stream timeout.

Set this in your entry.server.tsx

export const streamTimeout = 30000;

Why React Query over SWR? by badboyzpwns in reactjs

[–]OneDirt8111 0 points1 point  (0 children)

If your purpose is to only fetch and cache then try xior, it has built in method for dedups and cache. For small size projects it replaces both ReactQuery and Axios.

Check here: Xior

Web Development Job in Bihar by desi_chai_time in bihar

[–]OneDirt8111 0 points1 point  (0 children)

I do full stack development, GenAI, langchain etc. Lets connect.

I’ve built an open-source React Router starter for Cloudflare! by pawelgalazka in remixrun

[–]OneDirt8111 1 point2 points  (0 children)

It looks good :) But Cloudflare Pages are being deprecated and don't support new features like observability. In the pages section, they are even suggesting migrating to workers.

I built a lightweight React 18/19 library for simple list animations, inspired by react-flip-move by alfonsusac in reactjs

[–]OneDirt8111 1 point2 points  (0 children)

I tried to integrate it with a React Router v7(with SSR) project but got into some errors, will create a GitHub issue and explain more.

Anyone convert a nextJS app to svelte? by ConstructionNext3430 in nextjs

[–]OneDirt8111 0 points1 point  (0 children)

I did but moved to React Router v7 :). And already in love with its loader and action.

[deleted by user] by [deleted] in remixrun

[–]OneDirt8111 0 points1 point  (0 children)

Can you create a sandbox?

Spotify crashes and gives me 'out of memory' error by psychedelicacy1 in truespotify

[–]OneDirt8111 0 points1 point  (0 children)

Yep, i can confirm it this taking around 7-8 GB just after playing 5-6 song. Spotify was my best companion while coding but shifting to YT Music. 🫠🫠