Vansh Sharma
@itz_sharmaji001
Turning coffee ☕ into code 💻 | Future Software Engineer
UP Govt opened the portal(Oct 27–31) for students who didn’t get their 2024–25 scholarship to refill forms. But the website barely worked all these days Today’s the last day for colleges to forward students’ data, yet the site’s still down and it’s Sunday most colleges are closed
One teaches you how to live better. The other reminds you to live at all. Atomic Habits vs You Only Live Once — what’s your pick? 💭📘 #Books #SelfImprovement #reading
🎙️ Attending the Generative AI Mastermind Session with Outskill — exploring how AI is reshaping creativity, automation, and innovation. Every discussion opens a new door to what’s possible with the right mix of imagination and intelligence.🤖 #GenerativeAI #AICommunity #Outskill
"The real question after getting a brand-new laptop isn’t specs… it’s 👉 what’s the very first thing you install? 💻✨ #TechLife #NewLaptopVibes
pro tip : use light mode and save battery
Building the foundation of future 😶🌫️
Just tried NextAuth.js with Next.js — I’m mind-blown 🤯. Few lines of code = login with Google, GitHub, FB, Insta, Email or custom creds. Big thanks to OAuth + Next.js for making auth this easy ⚡ #NextJS #NextAuth #WebDev #lets_code_it
🚀 Build and launch websites in under an hour with bolt.new. AI tools are evolving fast—powering smarter, quicker solutions for today’s needs. #AI #WebDevelopment #Productivity #TechInnovation #BoltUp
How's your weekend going ? Are you building or learning something new? 👨🏻💻
Guys, instead of WhatsApp (a foreign app), try Arattai 🇮🇳 — our very own Indian app! It’s got everything WhatsApp offers + you can even fix meetings in it. #MadeInIndia
That’s why in Next.js, local storage ≠ good choice for auth. Stick to cookies or session storage for reliable and secure authentication
Instead, we use cookies (often HTTP-only & secure). ✅ Available on both server & client ✅ Automatically sent with every request ✅ More secure than local storage
But here’s the catch 👇 Local storage is only accessible on the client-side, not during server-side rendering. That means the server can’t access the token from local storage when it needs it most—at the very first request.
When a user visits your Next.js app, the very first request to the server must already include an authentication token. This is how the server knows who the user is and can return personalized data.
Ever wondered why we don’t use local storage for authentication in Next.js? 🤔
Should you use Next.js or stick with Express + React? No doubt — Next.js wins every time. 🚀 Why React alone falls short: ⚡ No built-in routing ⚡ Waterfalling issues ⚡ Not SEO-friendly ⚡ Separate backend project needed Next.js = smoother, faster, and production-ready. ✅
Even after finishing frontend &backend,I still struggle with creating a visually stunning and user-friendly website.UI/UX isn't just about looks it's the first impression, and users decide in 10-12 seconds whether to stay or leave.Bad design=lost users=dead website.#lets_code_it
United States Trends
- 1. Mamdani 283K posts
- 2. Kandi 4,738 posts
- 3. Mama Joyce 1,294 posts
- 4. #ItsGoodToBeRight N/A
- 5. #HMGxBO7Sweeps 1,494 posts
- 6. Egg Bowl 2,191 posts
- 7. Brandon Aiyuk N/A
- 8. Chance Moore N/A
- 9. #BY9sweepstakes N/A
- 10. Ukraine 598K posts
- 11. Adolis Garcia 1,954 posts
- 12. #AleMeRepresenta N/A
- 13. Putin 209K posts
- 14. Richie Saunders N/A
- 15. Wisconsin 8,411 posts
- 16. Joshua 40.9K posts
- 17. El Bombi N/A
- 18. #DanSeats N/A
- 19. Nolan Jones N/A
- 20. Kiffin 11K posts
Something went wrong.
Something went wrong.