FrontEnd Development
30.9K subscribers
145 photos
1 video
9.35K links
Полезные ссылки иHTML, CSS, JavaScript, TypeScript, Angular, React, Vue, Node.js, Mobile and more.

Admin: @andrey2019
Download Telegram
How to Pass a Component as a Prop in React

Some different ways to pass a component as a prop in a type-safe manner: passing JSX, using React.ComponentType, and using React.ElementType. - https://www.totaltypescript.com/pass-component-as-prop-react

#react
👍6🔥1
How To Use Web Workers In A Nuxt App

This project is written to share the usage of Web Work in the Nuxt3 app. Web Work is a fantastic feature of modern front-end web development which can provide the possibility of multithread computing on the web frontend. The combination of Web Worker and the popular SSR framework Nuxt3 can provide unlimited possibilities. - https://medium.com/@yinte1222/nuxt3-how-to-use-web-workers-in-a-nuxt-app-d03c1c8f2952

#vue
👍3🔥2
CommonJS is Hurting JavaScript

An interesting take on Node’s default module system, its history, its shortcomings, and the trickiness of managing both CommonJS and ES modules at once. It's perhaps no surprise the folks at Deno would like to see CommonJS disappear, but... - https://deno.com/blog/commonjs-is-hurting-javascript

#nodejs
👍31🔥1
Nesting in CSS

Ryan Finni shares a brief intro to the new CSS Nesting module. - https://www.letsbuildui.dev/articles/nesting-in-css

#css
🔥4👍21
React Suspense in Three Different Architectures

Suspense provides a way to make components more asynchronous and able to wait for some condition (such as loading content from the server) before they render without affecting the rest of the page. This article shows how Suspense can work alongside client-side rendering, server-side rendering, and server components. - https://elanmed.dev/blog/suspense-in-different-architectures

#react
👍3🔥1
Honey, I Shrunk the npm Package!

Compression sits under the hood of everything on the modern Web, including npm packages (distributed as gzipped tarballs). Could the standard gzip approach be showing its age in both speed and effectiveness? Jamie runs a package through a few alternatives and gives an update on efforts to modernize npm’s compression defaults. - https://jamiemagee.co.uk/blog/honey-i-shrunk-the-npm-package/

#nodejs
👍2
How to Use Vue Router: A Complete Tutorial

One of the most powerful features of modern single-page web applications (SPA) is routing. Modern single-page apps such as a Vue application can transition from page to page on the client-side (without requesting the server). Vue Router which is the official library for page navigation in Vue applications is simple to use, yet powerful. - https://vueschool.io/articles/vuejs-tutorials/how-to-use-vue-router-a-complete-tutorial/

#vue
🔥4👍1
CSS Findings From The Threads App: Part 2

Ahmad Shadeed takes another look at the Threads app and shares some interesting things he found along the way. - https://ishadeed.com/article/threads-app-css-part-2

#css
👍5🔥1
Server-Side Rendering (SSR) with Bun and React

Bun 1.0, a performance oriented alternative server-side JS runtime, has finally been released. To better understand how it can be employed with React, this case study walks through an example. - https://alexkates.dev/server-side-rendering-ssr-with-bun-and-react

#react #ssr
👍7🔥3
Type vs Interface: Which Should You Use in 2023?

Learn the key differences between interfaces and type aliases in TypeScript, including their use cases and important features to consider. - https://www.totaltypescript.com/type-vs-interface-which-should-you-use

#typescript
👍5🔥2
Exploring Nuxt 3 Middleware: A Comprehensive Overview

In Nuxt.js, middleware are custom functions that run before rendering a page or group of pages. Its use-cases may include checking authentication, modifying the server response, or accessing cookies. In this article understand the various types of middleware and how they work in Nuxt 3. - https://figueiredoluiz.medium.com/exploring-nuxt-3-middlewares-a-comprehensive-overview-6c45635cd6e4

#vue
👍51🔥1
What I Learnt Building a React Toast Component

Emil is the creator of Sonner, a popular toast notifications component. - https://emilkowal.ski/ui/building-a-toast-component

#react
🔥7👍2👎1