Mcoder
@mcoder995
Developer full Stack js
You might like
Implementing basic HTML streaming with node
today i learned you can run python scripts from your nodejs backend 🤯
📜 Do not pass DTOs to UI components - @dario_djuric Greatly explains why you'd rather design props independently of what the backend sends you returns darios.blog/posts/do-not-p…
Introducing `claude-sonnet-to-gpt-4o-mini` ✍️ Get the quality of Claude 3.5 Sonnet, at a fraction of the cost and latency. Give one example of your task, and Sonnet will teach 4o-mini (20x cheaper!!) how to do the task perfectly. And it's open-source: shorturl.at/Cjjwt
📜 Simplify Component Imports with TypeScript Namespaces Last week's newsletter's top link is @sergiodxa article, with around 1200 clicks. Readers usually like pragmatic articles like this sergiodxa.com/tutorials/simp…
PSA - if you're running lots of npm scripts on CI, replace them with node --run: ❌ npm run test && npm run lint ✅ node --run test && node --run lint You'll gain around 200ms for each one replaced.
Chrome Dev Tools 💡 You may not know that we can override response headers in Chrome Dev Tools 🤩 This can be very handy for handling CORS errors locally until they get fixed from the API server ✅👇
— HTML Vous voulez soumettre un formulaire avec un bouton en dehors de la balise <form> ? Et bien c'est possible nativement. Vous pouvez ajouter l'attribut "form" à votre bouton d'envoi pour associer l'action à un formulaire spécifique n'importe où sur la page ! 🙌 📚…
"What is the point of server components if all my pages need client features like hooks or event handlers?" You don't need to turn the entire page into a client component
You know you don't need to copy the inferred type to an interface to have a named type, right ?
The anatomy of a good error message from the Wix UX/Eng team. So. Good. 🤌 wix-ux.com/when-life-give…
accidentally rolled my own auth again
Upload a file with server action in Next.js
Welcome FlyDrive to the AdonisJS package family! It is a file storage framework-agnostic library for Node.js. It provides a unified API to interact with the local file system and cloud storage solutions like S3, R2, and GCS. 🔗 flydrive.dev
Would you reject a decent-paying job offer if the company didn't use TypeScript, and wasn't interested in adopting it?
TypeScript problem: You need to support any string value, but you’d like autocomplete support for common values. Solution: Create a union with "string & {}" on the end. Now you get autocomplete support for all values listed in the union, but can still enter any value.
Vercel à sortie l’AI SDK et celui-ci te permet d'interagir avec toutes les API AI en utilisant LA MÊME API ! Je ne crois pas que vous vous rendez-compte à quel point c'est pratique 👇
Si vous êtes dans l'IT, vous avez certainement entendu parler du backdoor xz (CVE-2024-3094). Si ce n'est pas le cas, voici un petit fil pour vous résumer tout ce qu'il faut savoir. 🚨
Here's a Next.js endpoint rate limited by requesting IP address. Insane how easy this is.
Upstash's rate limiter package is still criminally underutilized
United States Trends
- 1. Sunderland 72.9K posts
- 2. St. John 4,521 posts
- 3. Texas Tech 8,934 posts
- 4. Obamacare 167K posts
- 5. Elyiss Williams N/A
- 6. #iufb N/A
- 7. Shapen N/A
- 8. #SaturdayVibes 5,604 posts
- 9. Mississippi State 3,518 posts
- 10. Aden Holloway N/A
- 11. Gameday 31.2K posts
- 12. Fernando Mendoza N/A
- 13. #sjubb N/A
- 14. #SUNARS 4,197 posts
- 15. #Caturday 5,665 posts
- 16. Philon N/A
- 17. Insurance 216K posts
- 18. Xhaka 6,307 posts
- 19. Jack Kelly N/A
- 20. Beaver Stadium N/A
Something went wrong.
Something went wrong.