technikhil314's profile picture. Software engineer/Web developer/Consultant/Nerd/Devops enthusiast during days | Open Sourcer/Drummer/Poet during nights | Biker on weekends | Student for life

Nikhil Mehta

@technikhil314

Software engineer/Web developer/Consultant/Nerd/Devops enthusiast during days | Open Sourcer/Drummer/Poet during nights | Biker on weekends | Student for life

Nikhil Mehta reposted

Your router lib is about to get times better.

👀 Navigation API will be available in all browsers soon 🎉 Completely redefines the APIs used to build client-side routers / SPAs 🫤 History API: popState, link click.preventDefault() ... ✅ Navigation API: clean, centralized way to intercept navigation events 👌

sebastienlorber's tweet image. 👀 Navigation API will be available in all browsers soon 🎉

Completely redefines the APIs used to build client-side routers / SPAs

🫤 History API: popState, link click.preventDefault() ...

✅ Navigation API: clean, centralized way to intercept navigation events 👌


this is crazy to even think and this guy did it....

this guy must be stopped



Nikhil Mehta reposted

Don't [...spread] or .split() your strings! Use Intl.Segmenter API. Available in every JS runtime

wesbos's tweet image. Don't [...spread] or .split() your strings! 

Use Intl.Segmenter API. Available in every JS runtime

I still cant believe that cursor did this.

Yes, the paradox is that for several years I tried to switch to Vite and spent a week or two on it, fixing everything necessary for this, doing refactoring. But every time it came down to the fact that something still didn't work properly. Either the hot reload didn't work…



I wonder if this really should be a metric to decide if one is good at computers or not (regardless of what they do with computer)

i am a failure

ThePrimeagen's tweet image. i am a failure


Nikhil Mehta reposted

The making of a #CSS5 HDR enabled gradient tool a fun peek into the sketching that led to the gradient line UI, the color picker, the overall layout, some math and more! nerdy.dev/the-making-of-…


what cjs treeshaking seriously. how was this done reliably. can someone help me point to merge request?

We don’t talk about this enough but @rolldown_rs has been quietly and continuously shipping various bundle size improvements (CJS treeshaking, gzip-friendly codegen, cross-module dead code elimination…) Speed and quality, pick two



Nikhil Mehta reposted

#threejsbits Did you know #threejs actually has a lot of different RENDERERS, not only WebGLRenderer. Most underestimated is CSS3DRenderer, which renders, well, HTML 😅. Here is how it works and what is possible. 1/6 ⬇️


Nikhil Mehta reposted

The biggest scam in the world: Alcohol. It's destroying your brain and health. Here's what alcohol does to you (backed by science):

stijnnoorman's tweet image. The biggest scam in the world:

Alcohol.

It's destroying your brain and health.

Here's what alcohol does to you (backed by science):

Nikhil Mehta reposted

We’re making the @supabase Free Plan simpler and more generous: you now get 0.5 GB per active project. (previously it was 0.5 GB for your entire organization) you’re welcome 💸


Nikhil Mehta reposted

CSSWG is talking about #CSS `superellipse` for SQUIRCLES (and more like notches, cutouts and bevels) try it noamr.github.io/squircle-testb… awesome work @nomsternom and @smfr!


Nikhil Mehta reposted

Open a Linux terminal and type: watch -d -n 1 sensors This displays CPU, GPU, Wi-Fi, NVMe SSD, and HDD temperature data in real time. See cyberciti.biz/faq/howto-linu… for more info. #Linux #opensource


Nikhil Mehta reposted

the answer is no lol, but that was fun to post! CSS **is** a programming language, not FP tho. here's the CSS custom functions spec drafts.csswg.org/css-mixins-1/#…


Nikhil Mehta reposted

New: React Scan shows what props caused a component to render!


Nikhil Mehta reposted

2025 Startup Stack: 🌐 @nextjs: Framework ☁️ @vercel: Hosting 🔐 @supabase: Backend/Auth/Storage ✉️ @resend: Email 💯 @languine_ai - AI Translations 📱 @expo: Mobile 🔔 @novuhq: Notifications 💳 @polar_sh: Payments 🛠️ @triggerdotdev: Background jobs 📊 @OpenPanelDev: Analytics


Nikhil Mehta reposted

#CSS color what's the difference between adjusting lightness, adding white, and adding black? feel it out, here in this Codepen column 1: from color to 100% lightness 2: from color to white 3. from color to black 4. from color to 0% lightness codepen.io/argyleink/pen/…


Nikhil Mehta reposted

scroll to type with CSS ✨ p { animation: type steps(124); animation-timeline: --main; background: var(--cursor) calc(var(--pos) * 1ch) 0 / 1ch 1lh no-repeat border-box, var(--txt) 0 0 / calc(var(--pos) * 1ch) 100% no-repeat text; } @​keyframes type { to { --pos: 124; }}


Nikhil Mehta reposted

Hi! Here's an example of testing React Server Components in Next.js using MSW and Playwright: github.com/kettanaito/nex… This is how I see reliable RSC testing going forward. No emulation, framework-agnostic, isolated by default. Give me your feedback!

github.com

GitHub - kettanaito/nextjs-rsc-testing: Example of testing React Server Components in Next.js with...

Example of testing React Server Components in Next.js with MSW. - kettanaito/nextjs-rsc-testing


United States Trends

Loading...

Something went wrong.


Something went wrong.