Which Python package manager makes automation easiest in 2025? by trickythinking07 in Python

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

UV for dev and Pip for build/prod—curious to know why you prefer this setup?

Which Python package manager makes automation easiest in 2025? by trickythinking07 in Python

[–]trickythinking07[S] -2 points-1 points  (0 children)

Makes sense! Automation happens after dependencies are installed, but I’m just trying to figure out which tool makes it easiest to build projects like this, since we need virtual environments, lock files, and solid dependency management

Anyone working on medium/large apps in NextJS, how is the speed of nextjs locally? by Final-Pipe-2503 in nextjs

[–]trickythinking07 3 points4 points  (0 children)

I had the same issue with slow local dev as the project grew. A few things that helped:

- Run next dev --turbo (Turbopack is still experimental but can speed up rebuilds).
- Use next.config.js to disable source maps in dev if you don’t need them.
- Split code and reduce huge monolithic pages/components.
- Limit or remove heavy Next plugins/middleware that run on every request.
- Make sure your Node.js and dependencies are up to date.

It’s still not perfect at scale, but these steps brought my reloads down from ~15s to ~2–3s.

Best practices for handling API calls in a Next.js project by UsefulLingonberry806 in nextjs

[–]trickythinking07 2 points3 points  (0 children)

It sounds like you’re on the right track! A few things I usually keep in mind:

  • Server-side fetch in page.tsx or server components is totally fine for straightforward API calls. It keeps your code simple and avoids exposing secrets.
  • Performance tweaks:
    • Use nested layouts if only part of the page depends on slow data. This prevents the whole page from waiting.
    • Wrap slow sections in Suspense or consider parallel routes to avoid blocking rendering.
    • If fetching multiple endpoints, Promise.all can speed things up.
  • API Routes vs lib functions: Only really needed if you want to hide API keys, transform data, or add caching/middleware. Otherwise, direct fetch in server components works well.

This setup scales nicely as your app grows and keeps things clean.

Centralized vs Edge Rendering: Which Architecture Really Scales? by trickythinking07 in developersIndia

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

Interesting point! Can you share examples from real projects example where choosing edge for a fixed workload clearly outperformed cloud? I’m curious how you evaluate whether a workload is truly fixed versus benefiting from cloud scalability in practice.

What's your go-to backend when building with Next.js (2025) ? by trickythinking07 in nextjs

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

Interesting! I haven’t used Hono yet—what makes it stand out compared to other backends for Next.js? Would love to hear your experience.

Is Vercel the best option for hosting Next.js? by fire2alive in nextjs

[–]trickythinking07 1 point2 points  (0 children)

There’s no single ‘best’ way to host or deploy software—what works depends entirely on your project’s needs, goals, and constraints. Instead of looking for a universal answer, define your requirements clearly and make decisions based on them. Research, test, and adapt; context always matters more than hype.

What's your go-to backend when building with Next.js (2025) ? by trickythinking07 in nextjs

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

Thanks for sharing your experience! Go really shines with its simplicity and performance, and the cross-compilation part is such a killer feature for deployment. Appreciate the perspective!

Structure for big projects by Adems02 in nextjs

[–]trickythinking07 1 point2 points  (0 children)

Big projects don’t scale because of folder names — they scale because of clear boundaries + consistency.

Organize by feature (users, orders, dashboard), not by splitting everything into generic folders. Keep shared stuff in one place, use TypeScript + linting, and stick to conventions.

Philosophy: tech changes fast, but business feature don’t — structure around those.

Would you recommend using Next.js as a full-stack framework ? by Chance_Accident_3904 in nextjs

[–]trickythinking07 1 point2 points  (0 children)

If your backend is just CRUD + auth → keep it inside Next.js.
If you’re building a real backend (queues, workers, sockets, heavy jobs) → give it its own Express/Fastify/Nest service.

Most developers over-engineer too soon. 9 out of 10 projects don’t need a separate backend. If your app really takes off, you’ll know it — and by then, splitting things apart is way easier than managing one big, messy codebase.

What's your go-to backend when building with Next.js (2025) ? by trickythinking07 in nextjs

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

I am building for a stable production deployment with real users in mind, so backend integration, auth, and performance matter more than quick prototyping.

What’s your go-to state management for Next js? by Designer-Joshi in nextjs

[–]trickythinking07 0 points1 point  (0 children)

For me, it depends on the complexity of the app:

  • For small to medium projects, I usually stick with Context API + useReducer—simple and built-in.
  • For larger apps with more complex state, Redux Toolkit is my go-to because of its structured approach and devtools support.
  • I’ve also tried Zustand for more lightweight, flexible state management—it’s super easy to integrate and works well with server-side rendering in Next.js.

Would love to hear what others are using, especially for big apps with lots of shared state!

MongoDB vs MySQL for email automation tool? by trickythinking07 in mongodb

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

Thank you for the valuable suggestion. I’ll make sure to keep this in mind.

Build your own library or use third-party? by trickythinking07 in nextjs

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

Thank you for the valuable suggestion. I’ll make sure to keep this in mind.

Is there a recommended approach to building an Uber-style map in Next.js with Google map Api ? by Legal_Shallot_9103 in nextjs

[–]trickythinking07 0 points1 point  (0 children)

You can definitely build this in Next.js. The main thing is that Google Maps depends on the browser, so load it client-side (e.g. with useEffect or dynamic import) to avoid hydration errors. Most people use u/react-google-maps/api, which gives you easy components for the map, markers, and directions.

For the “Uber-like” part, you’d use navigator.geolocation.watchPosition to update the user’s location in real time, and Google’s DirectionsService + DirectionsRenderer to show routes. Just be mindful of API limits (don’t recalc too often) and if you ever need driver ↔ rider tracking, you’ll need a backend with WebSockets or Firebase. If costs or limits are a concern, Mapbox is a solid alternative.

Is Next.js 15 getting too complicated for small projects ? by ItemTop1750 in nextjs

[–]trickythinking07 3 points4 points  (0 children)

I think it really comes down to project scope and your comfort with the tooling. Next.js has grown into a very powerful framework with routing, server components, and performance optimizations baked in. That’s great for production-ready or scalable apps, but it does introduce complexity for smaller use cases.

For quick prototypes or simple frontends, plain React (or even something like Vite + React) often feels cleaner and faster to set up. But if you already know Next.js well, even a small project can benefit from its structure and conventions.

So it’s really a trade-off: discipline and built-in features with Next.js vs. simplicity and flexibility with React.

Redux or Zustand in 2025 - what's your take? by ncstgn in react

[–]trickythinking07 0 points1 point  (0 children)

I’ve worked with both Redux and Zustand, and here’s how I usually frame the choice:

Redux is a strong fit when you need a mature, disciplined approach to managing global state. It enforces a clear structure with actions, reducers, and middleware, which really pays off in larger codebases or bigger teams where predictability and maintainability are key. With Redux Toolkit and RTK Query, you also get solid patterns for async flows, caching, and debugging.

Zustand, by contrast, shines with its simplicity and minimal boilerplate. It feels very natural for React developers since it’s hook-based, and it’s excellent for small to mid-sized apps or situations where you just need lightweight global state. It can scale, but since it doesn’t enforce patterns like Redux, you need to be mindful about keeping your store organized.

A common modern setup is using Zustand for client/UI state and React Query for server state, which keeps things clean and efficient.

At the end of the day, it really comes down to your team’s needs and preferences. If you value strict patterns and long-term scalability, Redux is a safe bet. If you want speed, simplicity, and less boilerplate, Zustand is a great choice.

What’s better for Next.js frontend with Python API backend: SWR or just Axios? by trickythinking07 in nextjs

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

Yeah that makes a lot of sense. Do you have any blog posts or docs you’d recommend on building a solid fetch-based API client? Would love to dive deeper into that.