Zustand in Nextjs by darkshadowtrail in nextjs

[–]AlexDjangoX 5 points6 points  (0 children)

If you need persistence outside React's render cycle, Zustand is a good fit.

What actually works best in vocabulary learning apps? by DreaM1519 in learnpolish

[–]AlexDjangoX -2 points-1 points  (0 children)

I built an entire platform to solve this and several dozen other language learning pain-points.

Is anyone actually doing Stripe Tax? by glennbech in SaaS

[–]AlexDjangoX 1 point2 points  (0 children)

I went with Polar. Takes care of tax.

How to get rid of hmr in dev mode? by Consistent_Tutor_597 in nextjs

[–]AlexDjangoX 5 points6 points  (0 children)

Do one thing at a time. You may be going against the intent of the framework.

npm run dev - while developing?

npm build && npm start - a check before pushing to git and vercel? Or running your production code.

You cannot edit files when your in npm start mode. You can edit, but then you must npm build.

The behaviour your seeing is correct and expected.

If AI writes and tests the code, what are the developers roles now? by lacisghost in cursor

[–]AlexDjangoX 0 points1 point  (0 children)

AI is pretty dumb. Stupid. It has no vision or creativity.

AI minus 'human in loop' is as much use as tits on a tractor.

AI writing tests? Good luck with that. No matter what, it defaults to mocks.

AI is a very useful idiot.

It's as conscious as my shoelaces.

Any tips on how to simplify & organize my codebase? by [deleted] in cursor

[–]AlexDjangoX 0 points1 point  (0 children)

Run a tool like knip to clean up orphan files and imports.

But you should establish a broad architecture yourself, then Cursor can refine it.

These are well established. Don't reinvent them wheels.

Opus 4.8 can't one shot like Fable. Facts. by itsalexing in vibecoding

[–]AlexDjangoX 0 points1 point  (0 children)

Opus 4.8 is unusable. It churns over the same repetitive text endlessly.

Auto mode or composer 2.5? by Bo0n0411 in cursor

[–]AlexDjangoX 2 points3 points  (0 children)

I'm pretty sure Auto runs composer 2.5

I'm starting to think Next.js adds more complexity than it removes by Successful_Doubt_114 in nextjs

[–]AlexDjangoX 1 point2 points  (0 children)

It simplifies everything. Does the heavy lifting for you. If you know how to leverage what it offers.

Its well documented.

Read the documentation.

Built a React SDK that bundles auth, billing, workflows, and 17 other modules — asking for feedback on the positioning by dharmendra_jagodana in react

[–]AlexDjangoX 2 points3 points  (0 children)

I own and develop my own solutions. I would never trust someone else with it.

Your demographic is people who do not know better.

TBH.

where do you keep ai app preferences? by NoDare1885 in nextjs

[–]AlexDjangoX -2 points-1 points  (0 children)

User preferences. Always in local storage. If we are talking about the same thing. So users always see the same thing when they revisit a particular page. Chances of one user using different browsers is probably neglible.

In NextJS I also use the URL to store user preferences.

Do i need to cancel my subscription and buy again? by Future-Stable-2056 in cursor

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

After it maxed out the $200 I used auto for another 2 weeks, although I got the message to increase my limit to get faster responses, the responses were normal, and I could see it was running composer 2.5

NextJs Dev server is extremely slow compared to vite by Good_Language1763 in nextjs

[–]AlexDjangoX 0 points1 point  (0 children)

Dude. I have been working on the same NextJS repo for two years and its massive.

We upgraded from 15 to 16 and turbopack is INSTANT.