13. Jan 2023Frontend

Frontend Briefly - News and insights from the world of frontend development #12

A regular summary of the most important news, articles tweets in the frontend world is here! For the months of November and December, we have prepared the top 12 news that no frontend developer should miss. In addition, here you will find links to other interesting articles that are worth reading.

1. GitHub Universe 2022

Watch the recording of the GitHub Universe 2022 conference. The topics were varied:

  • AI (GitHub Copilot)
  • GitHub Codespaces
  • GitHub Cloud
  • Software security
  • etc…

You can also find an overview of all the news on the blog or watch the recording of the conference on YouTube.

2. News in the ecosystem of libs and frameworks

Over the past two months, a bag of news has literally burst open:

2.1 Next 13.1

Next in the new version 13.1 brings several new features for (stable) pages/, but also (beta) app/ folder:

2.2 Ant Design 5.0

The new major version of UI link Ant Design v5.0 brought several new components, Design Token Model, improved component customization options, etc.

New components in Ant Design 5.0

2.3 New features in TypeScript 4.9

2.4 Deno 1.28

The biggest change in Deno 1.28 is support for npm. This means that you can start using more than 1.3 million npm packages, e.g. Prisma, MySQL, frontend libraries like React, Vue, etc.

2.5 TanStack Router

Modern and scalable routing, although only a beta version so far:

 

2.6 SWR 2.0

Library solves data fetching (similar to Fetch API), but adds the possibility to cache requests and other useful functions. By far the biggest new feature in SWR 2.0 is the support for mutations, as without it this lib wasn't very useful.

2.7 Vite 4.0

Some new features in Vite 4.0:

  • Upgrade to Rollup v3.
  • @vitejs/plugin-react-swc plugin: application build is provided by esbuild, and during development, Babel is replaced by SWC.
  • You can find more news on the blog.

2.8 tRPC v10

Communication between frontend and backend was and still is problematic. tRPC library serves to create a typesafe API that uses the full potential of TypeScript. It's definitely an interesting alternative to REST API or GraphQL without having to generate code or use a schema. You can find more about the new version of tRPC on the blog and you can also read why they stopped using GrapQL in Echobind and switched to tRPC instead.

3. Will AI take developer's jobs?

I certainly don't need to introduce WebGPT or GitHub Copilot anymore. Should we (not only) developers start worrying about jobs because we will be replaced by AI? Read Jason Warner's interesting take on Twitter:

4. The State of CSS 2022

The State of CSS 2022 survey results are now available. Here you will learn about current and future trends in CSS. 14,310 developers participated in the survey, and these results may also influence the future direction of CSS.

5. New viewport units

Existing units like vw or vh work fine on computers. However, on mobile devices, these units did not work reliably, because the screen size is affected by the presence or absence of dynamic panels with URL address, buttons, etc... Therefore, new viewport units are coming, such as dvh (dynamic viewport), lvh (small viewport) or lvh (large viewport). Details can be found in the article The large, small, and dynamic viewport units and also Prepare for viewport resize behavior changes.

New Viewport units

Other articles worth reading

Modern procedures for optimizing web performance

A few articles about accessibility

Conclusion

If you liked the news overview, don't forget to subscribe to our newsletter. You can also read the news from the November Frontend Briefly.

Andrej NemečekFrontend Developer