I've been dying to share this for weeks now… Introducing the page transition API!
It's still in-development, but you can play with it today. I'm really happy with where this API is heading. I hope you like it too!
https://t.co/R0ssmYgeKC
An example of reducing format checking time with Prettier from ~40s to under 1s on the second CI run via dprint-plugin-prettier.
https://t.co/PDQPN7oLcJ
Ever wondered why you don't need to import the main React object anymore? That's because from React 17 onwards, the React team updated the way JSX gets transformed to Javascript. No longer is React.createElement being called during the transpilation.
https://t.co/acFI4mO6ot
TIL that userEvent is preferred over fireEvent. It was virtually impossible to open a 3rd party <Select /> component with fireEvent. With userEvent, it just worked. Why is fireEvent not marked as deprecated yet?
Javascript makes web development easy. You just have to learn
React
Angular
Vue
Svelte
Emberjs
JQuery
Redux
React Query
Recoil
Mobx
Webpack
Rollup
Snowpack
Esbuild
Parcel
Babel
Styled Components
Tailwind
NextJS
Jest
React Testing Library
Angular Testing Library
Mocha
Cypress
Thread on how Amazon treats its workers
Context:
Amazon full-time warehouse employees make $31,200 a year. Jeff Bezos makes that every 12 seconds.
Cost to give warehouse workers 2 weeks paid sick leave + pay bumps so they don't qualify for food stamps = 0.9% of Bezos' fortune
The <img> element now supports lazy-loading, async decoding, Priority Hints and more. I wrote about some of them for the @StackOverflow blog: https://t.co/GPLHDyU36l. Helpful if optimizing UX & performance.