As I'm starting to learn about frontend development (see my plan here), a friend of mine recommended I take a look at the State of JS survey:
This is a pretty cool survey with 20,000 developers to identify current and upcoming trend and seems like a great resource for a quick overview of the landscape.
- Nullish coalescing
- Optional chaining
- Private Fields
- Language features
- Decorators (didn't know JS has this)
- Promise.allSettled() (a rejected+resolved version of Promise.all())
- Dynamic Import
- Data structures
- Typed arrays
- Browser APIs
See the full list here
Pretty amazing visualization here, basically
- Each line goes from 2016 to 2020, so we can see the trajectory
- Upper right corner (1st quadrant) are popular technologies people also enjoy using
- Lower right corner (4th quadrant) are things that are great but hasn't become super popular yet.
Overall, I seem to be picking items from the 1st quadrant already with the following exceptions
- I haven't really done much testing, it seems Mocha, Jest and Cypress are good to check out. Another super high satisfaction but currently lower usage one is Testing Library.
- TypeScript is on my radar, though not adopted yet
- I picked up Next.js thought it is great to make static page, and app pages in one place - easy to write and deploy, good to see it's on an up and coming trajectory.
- Redux seemed a bit of an overkill for the current level of complexity of my projects, but will keep an eye on it.
A couple of frameworks/tools people really love but I haven't heard or learned much about are:
- Svelte (Front-end Framework)
- Testing Library (Testing)
See the full list here
Looking over the list of libraries, lots of them are around:
- tailwind css
- data fetching
- data fetching with caching
- form handling
- misc / haven't looked into
- RxJS (async events management)
- yup (schema validation)
The survey has a pretty long resources section. I'm particularly curious what developers are reading. Based on personal experience in the last month or so, I'm not surprised by CSS-Tricks ranking #1 :) . It's interesting to see Medium and Dev.to rank so high, I'll consider reading more there and repost my posts perhaps.
But somehow a lot of other questions also have more dispersed (evenly distributed) response in 2019 and 2020 compared to prior years, not sure if just the respondent distribution changed, e.g. see graph below. So I'm not very sure whether to trust these.