April might just be known as the month that Basecamp went rogue. After a successful stint of taking the fight to the big boys, the well known founders are falling from grace from Tech Twitter.
Learning Roadmap | Learn Vanilla JS
Not sure where to start? Here’s a structured roadmap for learning vanilla JS.
After you’ve mastered a skill or completed a project, check if off and the site will save your learning progress for you.
- Cloudflare Pages - Cloudflare can now host JAMStack websites, combined with Workers, this is definitely a powerful solution. Along with the usual stack of live previews, CDN solutions, cloudflare also optimises your images - depending on whether you are visiting from a mobile or desktop device.
- Github Sponsors Community - Github now has a listing page for all the open source repositories that you depend on so you can choose to sponsor them easily. I found out that my repos depend on 3k open source repositories 🤯.
- Safari 14.1 - Safari 14.1 ships with lots of stuff (as usual) but now we have
flex-gap everywhere (that matters). You can now space flex items without the weird margins between flex children.
- NextJS 10.2 - NextJS 10.2 comes with automatic webfont optimisation and accessibility improvements. Also Tobias Koppers, the author of webpack has joined the Vercel team.
- Tailwind 2.1 - JIT has now been added to the core. Adds support for blending modes. Tailwind UI supports React and Vue as well.
- React Labs by Facebook - Facebook Open Source team has launched a video series for technical deep dives into React internals. The launch is now accompanied by a developer Q&A with React team and developers focused on the new Server Components API. If you like frontend architecture design, go for it, but do remember that the API is not yet final so you don’t need to.
- Breaking GitHub Private Pages for $35k
- Breaking into Github private pages with some CRLF injection and cache poisoning on a CTF.
- Writing Resilient Components - Who better than Dan Abramov for React tips. This time around it’s not a huge essay, it’s some specific issues with solutions that Dan has gifted.
- Is WebAssembly magic performance pixie dust?
In the Spotlight 🔦
Checkout Hakkim El Hattab’s lab projects 🔥
Product Discoveries of the Month
Google could start including the new web vitals measurements into the page ranking algorithm starting as soon as May or June. If you haven’t looked into web vitals yet, now might be a good time to start.
Web Vitals is a collection of three (currently) measurements from a webpage. These are:
- Largest Contentful Paint (LCP): measures loading performance. To provide a good user experience, LCP should occur within 2.5 seconds of when the page first starts loading.
- First Input Delay (FID): measures interactivity. To provide a good user experience, pages should have a FID of 100 milliseconds or less.
- Cumulative Layout Shift (CLS): measures visual stability. To provide a good user experience, pages should maintain a CLS of 0.1. or less.
Google provides a library named web-vitals on NPM that can be used to measure all three parameters. If you have created a project with
create-react-app recently, you would have run across a web-vitals file along side the regular ones. It measures the metrics that Google suggested with the library.
You can measure web vitals on popular tools like Pagespeed Insights, Chrome UX Report, Search Console and Web Vitals extension. Lighthouse currently reports two of the vitals - LCP and CLS.
Find out more:
In Other News
- Starting with an idea and building a community - Evan You - The founder of Vue talks about building a community and making open source work for you on the new Github blog series.
- How Anjali Sud reinvented Vimeo - Vimeo was always known as a small Youtube competitor. Recently they have taken a large pivot under their new CEO Anjali Sud to video creation tools. She talks about the success of Tik Tok and how much of it is actually attributed to video creation tool rather than watching short videos. This is a must read/listen for anyone interested in startups.
- Welcome to YOLO economy - There were repeated predictions based on historical pandemics of a renaissance. When everything cools down, people doing what they wanted to instead of what they were forced to. NYTimes reports suggests that it’s already here, the YOLO economy.