Yashveer Singh
Connect
Systems · Technologies

Beyond the stack. The primitives I actually reach for.

Stack is the named things. Technologies are the underlying ideas that the named things are made of. The distinction matters because it survives stack churn.

RSC + ISRRendering
StreamsRealtime
RolesAuth
WebGL3D

Rendering strategies.

Server components by default, client components for interactivity. Static rendering when the content is stable, incremental static regeneration when it changes on a known cadence, server rendering on request when the work needs fresh data and personalization. Streaming responses when the user benefits from seeing the page begin before the page is finished.

The decision is per route, not per project. A landing page is static. A dashboard is dynamic. A blog index is ISR. Treating rendering as a strategy choice instead of a project-wide default is what keeps the lab's pages fast.

  • Static for marketing, landing, content surfaces
  • ISR for blog indexes, product listings
  • SSR on demand for personalized surfaces
  • Streaming when above-the-fold can land early

Realtime, the right way.

Most realtime is fake. A polling loop disguised as a subscription. Real realtime is harder: it requires a stream the client can subscribe to, a server that can push, and a state model that handles out-of-order delivery without losing its mind.

Firestore handles this cleanly for the school-system class of work, with snapshot listeners that reflect changes the moment they land. For the lab's larger surfaces, server-sent events and websockets cover the cases Firestore does not. The principle is the same: the source of truth is the stream, the UI is a projection.

Auth and role separation.

Real auth is more than a login form. It is the surface that decides which user sees which data, which mutation they are allowed to perform, and how the system stays sound under attack. Nexli alone has seven roles, each with a distinct surface.

The pattern is consistent. The role is established at sign-in and verified server side on every mutation. The client never decides what data it gets, the server does. Permissions live in code that is reviewed like the rest of the system, not in a database column nobody reads.

If the client decides what data it sees, you do not have auth. You have decoration.

3D and the WebGL layer.

Three.js and React Three Fiber for everything 3D. Drei for the common primitives. Postprocessing for bloom, depth of field, the cinematic finish. The hero sigil on the home page, the Nyxera core, the ambient backdrops on every page in the lab. All of it sits on this stack.

The discipline is performance first. Cap the device pixel ratio at two. Pause the frame loop when the tab is hidden. Lazy load every 3D component with ssr: false. Skip the heavy effects on mobile. The Lighthouse score is the contract.

  • MeshTransmissionMaterial for glass with realistic transmission
  • Instanced meshes for particle systems
  • Environment maps from Drei presets
  • Postprocessing only above a viewport threshold

Edge, serverless, and where to put compute.

Vercel's edge runtime handles auth checks, redirects, and any compute that benefits from being close to the user. Serverless functions handle the heavier work. The line is drawn by latency, not by preference.

When a project needs persistent compute, the answer is a small Node service, a small Python service, or both. The lab does not run servers it does not have to run. When it does, the surface is documented and observable.

The technologies I am layering in next.

Model orchestration patterns for Nyxera, including local inference, hosted inference, and the routing between them. Vector stores for memory, with a clear opinion about what they are good for and what they are not. Streaming responses from models, because the latency budget for AI surfaces is set by perception, not by the model itself.

Cybersecurity primitives once the AI surface is real. Identity, secret management, threat modeling, dependency auditing. The long arc toward intelligent systems only works if the foundation can take the weight.

Where to go next.

FAQ

Questions worth answering