Need help 🙏
In my current project I am using @better_auth with React+vite+TS. In local everything is working fine, but in the production session_token is not getting saved.
I have deployed backend service on cloud and frontend on Netlify.
If you want `https://t.co/YJ4gIBsNg5` to be your auth server and authenticate other subdomains like `https://t.co/agTd8RA1fQ `, `https://t.co/wxEcwcOBLc`... you don’t need to do anything fancy. You just need to enable cross-subdomain cookies to share cookies between them
In JS, You can convert numbers to any base with just one line:
<number>.toString(<base>)
Yep, toString(<base>) lets you go from binary to base-36.
Try (123456).toString(2) — it's that easy. 🧠🔥
🛠️ Write JavaScript every day? Then you’re definitely working with objects.
Here are 5 clean & pro-level ways to access object properties like a boss 👇
Which one’s your go-to? 🤔
#JavaScript#WebDev#CodingTips#LearnInPublic
Understanding WebSocket & SocketIO gave me new appreciation for real-time apps.
Have you build anything using websocket/socketio ?drop them below👇 Let’s grow together 🚀
🧵 Today I learned about WebSocket, https://t.co/BGMEEsQhpB, Polling, and how they're different from HTTP.
If you've ever wondered how chat apps work in real-time, this thread is for you 👇
#LearnInPublic#WebDev#SocketIO
3/ What is SocketIO?
SocketIO is a library that enables low-latency, bidirectional communication between client and server.
Perfect for real-time apps like:
Chat app 💬
Multiplayer Games🕹
Instant notification 🔔