TypeScript GraphQL Grid webp Font Display :focus-within ESM Lazy Loading PWA JAMStack Zero-Config JavaScript Cypress Serverless Web Components Played out
.grid { grid-template-columns: [a] auto [b] minmax(min-content, 1fr) [b c d] repeat(2, [e] 40px) repeat(5, auto); } CSS Grid and its incredible power arrived!
Truly Component-driven CSS Container queries enable you to style elements based on their size whereas :has() lets you style them based on their content!
Truly Component-driven CSS Container queries enable you to style elements based on their size whereas :has() lets you style them based on their content! THIS IS HUGE!!!
/** * @param {string} p1 - A string param. * @param {string=} p2 - An optional param (Closure syntax) * @param {string} [p3] - Another optional param (JSDoc syntax). * @param {string} [p4="test"] - An optional param with a default value * @return {string} This is the result *( function someMethod(p1, p2, p3, p4 = 'test') { // TODO }
First render (All of it!) index.html main.css jQuery.js A Fetch-Render Waterfall some-spaghetti.js DB Calls API Calls API Calls API Calls Server Browser index.html DB Calls API Calls API Calls API Calls All done!
<*SideBar> <*App> App Sidebar Nav Main TweetBox Tweets SideBar Trends OtherNonSense Data for OtherNonSense Data for Trends Data for Tweets A Render-Fetch Waterfall (aka "fetch as you render")
<*SideBar> <*App> App Sidebar Nav Main TweetBox Tweets SideBar Trends OtherNonSense Data for OtherNonSense Data for Trends Data for Tweets A Render-Fetch Waterfall (aka "fetch as you render") Network? CPU? Memory?
// pages/_app.js import { Inter } from '@next/font/google' // If loading a variable font, you don't need to specify the font weight const inter = Inter({ subsets: ['latin'] }) export default function MyApp({ Component, pageProps }) { return (