just shipped a11y-panel to npm! 🚀
Plug-n-Play draggable widget. Drop it into your app and instantly give users the ability to tweak text, highlight links, and toggle high-contrast/monochrome modes.
📦 npm install a11y-panel
Just published a image compression cli tool called minyimg.
You can run it instantly in your project without installing:
npx minyimg -p <path_to_image_folder>
example: npx minyimg -p ./public/images
source :- https://t.co/jJoKkEXvND
let a = ??
if (a == 1 && a == 2 && a ==3){
console.log("success")
}
what's the value of "a" for which the given condition will be true?
Result: A silky-smooth UI, even with thousands of messages per second. The main thread is finally free to do its job.
Lesson: Don't let I/O block your UI. Web Workers are your best friend for high-frequency background tasks.
Struggling with a laggy React app powered by WebSockets? We were too. 🐢
We optimized our components, our server, everything. But our trading platform still stuttered under a high-frequency data stream. The problem wasn't what we thought.
The game-changer? Web Workers! 🚀
We moved the entire WebSocket connection and message processing off the main thread.
The worker now handles all the heavy lifting, sending only the final, clean data back to the app for rendering.