Bookmarks tagged with "typescript"
- Composable Caching with Next.js
We’re working on a simple and powerful caching model for Next.js. In a previous post, we talked about This post will discuss the API design and benefits of 'use cache' It’s a JavaScript “directive”—a string literal you add in your code—which signals to the Next.js compiler to enter a different “boundary”. For example, going from the server to the client. This is a similar idea to React directives like Let’s start with a simple example: Behind the scenes, Next.js transforms this code into a se...
- release-it/release-it: 🚀 Automate versioning and package publishing
🚀 Generic CLI tool to automate versioning and package publishing-related tasks: Use release-it for version management and publish to anywhere with its versatile configuration, a powerful plugin system, and hooks to execute any command you need to test, build, and/or publish your project. Are you using release-it at work? Please consider Although release-it is a npm init release-it Alternatively, install it manually, and add the npm install -D release-it { "name": "my-package", "version": "...
- The Forensics Of React Server Components (RSCs) — Smashing Magazine
Lazar Nikolov is a Web Performance Developer Advocate at Your (smashing) email Weekly tips on front-end & UX We love client-side rendering for the way it relieves the server of taxing operations, but serving an empty HTML page often leads to taxing user experiences during the initial page load. We love server-side rendering because it allows us to serve static assets on speedy CDNs, but they’re unfit for large-scale projects with dynamic content. React Server Components (RSCs) combine the best ...
- Deno KV internals: building a database for the modern web
Designing Deno KV Deno is designed to streamline web and cloud development with What if you could access such a database without any preliminary setup? This is what The Deno runtime doesn’t just run on your local machine in the form of the We knew that we wanted to build a database for Deno, because of a very simple problem we heard from many customers: unless your app’s data is also globally distributed, you won’t be able to make use the performance benefits you get by distributing your comp...
- Figma’s journey to TypeScript | Figma Blog
...
- cezaraugusto/extension.js: 🧩 Plug-and-play, zero-config, cross-browser extension development tool.
...
- Latency numbers every frontend developer should know – Vercel
Web page load times and responsiveness to user action in web apps is a primary driver of user satisfaction–and both are often dominated by network latency. Latency itself is a function of the user's connection to the internet (Wifi, LTE, 5G), how far away the server is that the user is connecting to, and the quality of the network in between. While the latency numbers may seem low by themselves, they compound quickly. For example, a Metric Estimate Metric Impact Wifi latency to internet Wifi ad...
- React Server Components 🧐 with Dan Abramov (JS Party #311)
...
- File Conventions: Route Segment Config | Next.js
The Route Segment options allows you to configure the behavior of a layout.tsx | page.tsx | route.ts Change the dynamic behavior of a layout or page to fully static or fully dynamic. layout.tsx | page.tsx | route.ts Control what happens when a dynamic segment is visited that was not generated with layout.tsx | page.tsx Set the default revalidation time for a layout or page. This option does not override the Learn more about the Support for By default, Next.js does not limit the execution of...
- File Conventions: Metadata Files | Next.js
This section of the docs covers Each file convention can be defined using a static file (e.g. Once a file is defined, Next.js will automatically serve the file (with hashes in production for caching) and update the relevant head elements with the correct metadata, such as the asset's URL, file type, and image size....
- Use Notion as a database for your Next.JS Blog
Cover image for Use Notion as a database for your Next.JS Blog Notion is an extremely powerful tool to manage your content by creating a database you can even add properties to pages: publication date, tags, etc. In this Post you will learn how to fetch pages from the Notion API and render their content to create a wonderful Next.JS Blog entirely managed with Notion. A Notion Database is a list of pages with defined properties, it provides features to easily manage your content with different ty...