[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"verticals":3,"tag-webdev-7":44,"search-suggestions":297,"tags-all":323},[4,20,32],{"id":5,"slug":6,"name":7,"tagline":8,"description":9,"accentFrom":10,"accentTo":11,"icon":12,"defaultLocale":13,"locales":14,"features":16,"position":19},"019fe637-3d33-714b-b57f-23e163ffca0c","dev","Web Development","Read it. Run it. Prove it.","A post a day on modern web development — most with an editable playground and a quiz that explains every answer. Free, no account needed.","violet-500","cyan-400","◇","en",[13,15],"fa",{"courses":17,"paths":17,"articles":17,"exams":18,"flashcards":18,"packages":17,"community":17,"certificates":17,"teams":17,"commerce":17},true,false,0,{"id":21,"slug":22,"name":23,"tagline":24,"description":25,"accentFrom":26,"accentTo":10,"icon":27,"defaultLocale":13,"locales":28,"features":30,"position":31},"019fe637-3dc2-754c-8657-0f175bfee7c6","lang","Languages","Learn a language the way you learn a codebase.","Grammar explained the way good documentation explains an API — one idea at a time, each with a quiz.","amber-400","⌘",[13,15,29],"es",{"courses":18,"paths":18,"articles":17,"exams":18,"flashcards":17,"packages":18,"community":17,"certificates":17,"teams":18,"commerce":18},2,{"id":33,"slug":34,"name":35,"tagline":36,"description":37,"accentFrom":38,"accentTo":39,"icon":40,"defaultLocale":13,"locales":41,"features":42,"position":43},"7b3c16f2-931d-410e-802e-e1fa4edab7de","soft","Soft Skills","The half of the job nobody wrote documentation for.","Weekly, on the parts of working life that decide more than your code does — first weeks, meetings, interviews, promotions, and the people around you. Written from what actually happens, and recorded as a podcast you can listen to on the walk.","emerald-400","teal-300","◉",[13],{"courses":18,"paths":18,"articles":17,"exams":18,"flashcards":18,"packages":18,"community":17,"certificates":18,"teams":18,"commerce":18},3,{"items":45,"meta":292},[46,80,102,120,138,156,177,195,215,235,256,274],{"id":47,"slug":48,"title":49,"subtitle":50,"excerpt":51,"coverUrl":52,"locale":13,"readingMinutes":53,"publishedAt":54,"viewCount":55,"likeCount":19,"commentCount":19,"author":56,"vertical":61,"topic":62,"tags":65,"_count":77,"playground":79,"hasQuiz":17,"hasPlayground":17},"019fe660-a973-77a9-9820-826bf25fd884","iterator-helpers-lazy-filter-map","Array methods are eager. Iterator helpers are lazy. Here's why that matters.",null,"Every `.map()` and `.filter()` on an array creates a new intermediate array. Iterator helpers — built into JavaScript since 2024 — give you the same pipeline but evaluate one element at a time, with no wasted allocations.","\u002Fmedia\u002Fcovers\u002Fiterator-helpers-lazy-filter-map.png",5,"2026-07-30T08:34:21.684Z",359,{"id":57,"name":58,"username":59,"avatarUrl":50,"headline":60},"019fe637-3c25-7088-9034-39c9f15dc3c8","Parsa Jiravand","parsa","Frontend engineer · building bestpractic",{"slug":6,"name":7,"accentFrom":10,"accentTo":11},{"slug":63,"name":64},"javascript","JavaScript",[66,68,71,74],{"slug":63,"name":67,"color":50},"Javascript",{"slug":69,"name":70,"color":50},"webdev","Webdev",{"slug":72,"name":73,"color":50},"frontend","Frontend",{"slug":75,"name":76,"color":50},"performance","Performance",{"assessments":78},1,{"slug":48},{"id":81,"slug":82,"title":83,"subtitle":50,"excerpt":84,"coverUrl":85,"locale":13,"readingMinutes":86,"publishedAt":87,"viewCount":88,"likeCount":19,"commentCount":19,"author":89,"vertical":90,"topic":91,"tags":94,"_count":100,"playground":101,"hasQuiz":17,"hasPlayground":17},"019fe660-a1fc-740c-9df4-b60a02de8afa","css-color-mix-native-color-mixing","You reach for Sass to mix colors. `color-mix()` does it natively.","Sass's `darken()`, `lighten()`, and `mix()` functions solved real problems CSS couldn't handle for decades. `color-mix()` is the native answer, and it ships in every modern browser with no build step required.","\u002Fmedia\u002Fcovers\u002Fcss-color-mix-native-color-mixing.png",4,"2026-07-29T08:47:34.803Z",294,{"id":57,"name":58,"username":59,"avatarUrl":50,"headline":60},{"slug":6,"name":7,"accentFrom":10,"accentTo":11},{"slug":92,"name":93},"css","CSS",[95,97,98,99],{"slug":92,"name":96,"color":50},"Css",{"slug":69,"name":70,"color":50},{"slug":72,"name":73,"color":50},{"slug":63,"name":67,"color":50},{"assessments":78},{"slug":82},{"id":103,"slug":104,"title":105,"subtitle":50,"excerpt":106,"coverUrl":107,"locale":13,"readingMinutes":86,"publishedAt":108,"viewCount":109,"likeCount":19,"commentCount":19,"author":110,"vertical":111,"topic":112,"tags":113,"_count":118,"playground":119,"hasQuiz":17,"hasPlayground":17},"019fe660-9a9b-73dc-87cd-48744e21e671","text-wrap-balance-headline-orphans","You hand-edit headlines to avoid orphaned words. `text-wrap: balance` does it natively.","The classic fix for a headline that breaks awkwardly — a manual `\u003Cbr>`, a `&shy;`, or a max-width tweak — exists because CSS had no way to distribute line breaks evenly. `text-wrap: balance` and `text-wrap: pretty` are the native answers.","\u002Fmedia\u002Fcovers\u002Ftext-wrap-balance-headline-orphans.png","2026-07-28T08:41:41.989Z",316,{"id":57,"name":58,"username":59,"avatarUrl":50,"headline":60},{"slug":6,"name":7,"accentFrom":10,"accentTo":11},{"slug":92,"name":93},[114,115,116,117],{"slug":92,"name":96,"color":50},{"slug":69,"name":70,"color":50},{"slug":72,"name":73,"color":50},{"slug":63,"name":67,"color":50},{"assessments":78},{"slug":104},{"id":121,"slug":122,"title":123,"subtitle":50,"excerpt":124,"coverUrl":125,"locale":13,"readingMinutes":86,"publishedAt":126,"viewCount":127,"likeCount":19,"commentCount":19,"author":128,"vertical":129,"topic":130,"tags":131,"_count":136,"playground":137,"hasQuiz":17,"hasPlayground":17},"019fe660-8482-75bc-ab16-8e86f92efc09","resize-observer-element-size","You're watching `window` to detect element size changes. `ResizeObserver` watches the element itself.","A `window` resize listener only fires when the viewport changes. ResizeObserver fires whenever the element's own box changes — from content loading, parent reflow, container queries, or anything else.","\u002Fmedia\u002Fcovers\u002Fresize-observer-element-size.png","2026-07-26T08:32:44.347Z",364,{"id":57,"name":58,"username":59,"avatarUrl":50,"headline":60},{"slug":6,"name":7,"accentFrom":10,"accentTo":11},{"slug":63,"name":64},[132,133,134,135],{"slug":63,"name":67,"color":50},{"slug":69,"name":70,"color":50},{"slug":72,"name":73,"color":50},{"slug":75,"name":76,"color":50},{"assessments":78},{"slug":122},{"id":139,"slug":140,"title":141,"subtitle":50,"excerpt":142,"coverUrl":143,"locale":13,"readingMinutes":86,"publishedAt":144,"viewCount":145,"likeCount":19,"commentCount":19,"author":146,"vertical":147,"topic":148,"tags":149,"_count":154,"playground":155,"hasQuiz":17,"hasPlayground":17},"019fe660-7d17-745b-812d-b1e81a1b2b85","css-starting-style-entry-animations","You use a setTimeout to trigger CSS entry animations. `@starting-style` makes it unnecessary.","Before `@starting-style`, the moment an element entered the DOM was invisible to CSS — transitions had no 'before' state to interpolate from. The at-rule gives you one, natively, with no JavaScript required.","\u002Fmedia\u002Fcovers\u002Fcss-starting-style-entry-animations.png","2026-07-25T08:13:02.298Z",297,{"id":57,"name":58,"username":59,"avatarUrl":50,"headline":60},{"slug":6,"name":7,"accentFrom":10,"accentTo":11},{"slug":92,"name":93},[150,151,152,153],{"slug":92,"name":96,"color":50},{"slug":69,"name":70,"color":50},{"slug":72,"name":73,"color":50},{"slug":63,"name":67,"color":50},{"assessments":78},{"slug":140},{"id":157,"slug":158,"title":159,"subtitle":50,"excerpt":160,"coverUrl":161,"locale":13,"readingMinutes":86,"publishedAt":162,"viewCount":163,"likeCount":19,"commentCount":19,"author":164,"vertical":165,"topic":166,"tags":169,"_count":175,"playground":176,"hasQuiz":17,"hasPlayground":17},"019fe660-75da-727d-a751-32f8723b0b38","using-explicit-resource-management","You still write `finally { resource.close() }`. The `using` keyword does it automatically.","The Explicit Resource Management proposal adds a `using` declaration that calls cleanup the moment a scope exits — normal return, early return, or throw. No more try\u002Ffinally boilerplate for timers, event listeners, connections, or any other resource you need to release.","\u002Fmedia\u002Fcovers\u002Fusing-explicit-resource-management.png","2026-07-24T08:33:28.459Z",371,{"id":57,"name":58,"username":59,"avatarUrl":50,"headline":60},{"slug":6,"name":7,"accentFrom":10,"accentTo":11},{"slug":167,"name":168},"typescript","TypeScript",[170,172,173,174],{"slug":167,"name":171,"color":50},"Typescript",{"slug":63,"name":67,"color":50},{"slug":69,"name":70,"color":50},{"slug":72,"name":73,"color":50},{"assessments":78},{"slug":158},{"id":178,"slug":179,"title":180,"subtitle":50,"excerpt":181,"coverUrl":182,"locale":13,"readingMinutes":86,"publishedAt":183,"viewCount":184,"likeCount":19,"commentCount":19,"author":185,"vertical":186,"topic":187,"tags":188,"_count":193,"playground":194,"hasQuiz":17,"hasPlayground":17},"019fe660-6e7e-72cb-bd34-bc123056cfeb","set-methods-union-intersection","You've been doing Set math by hand. JavaScript finally shipped `.union()`, `.intersection()`, and friends.","Set has always been missing its obvious operations. ES2025 adds `.union()`, `.intersection()`, `.difference()`, `.symmetricDifference()`, and three boolean predicates — native methods that used to require four lines of spread syntax each.","\u002Fmedia\u002Fcovers\u002Fset-methods-union-intersection.png","2026-07-23T08:37:02.144Z",332,{"id":57,"name":58,"username":59,"avatarUrl":50,"headline":60},{"slug":6,"name":7,"accentFrom":10,"accentTo":11},{"slug":63,"name":64},[189,190,191,192],{"slug":63,"name":67,"color":50},{"slug":69,"name":70,"color":50},{"slug":72,"name":73,"color":50},{"slug":167,"name":171,"color":50},{"assessments":78},{"slug":179},{"id":196,"slug":197,"title":198,"subtitle":50,"excerpt":199,"coverUrl":200,"locale":13,"readingMinutes":86,"publishedAt":201,"viewCount":202,"likeCount":19,"commentCount":19,"author":203,"vertical":204,"topic":205,"tags":206,"_count":213,"playground":214,"hasQuiz":17,"hasPlayground":17},"019fe660-66d6-71c3-b71a-ed9102b874c8","promise-with-resolvers","You keep escaping the Promise constructor. `Promise.withResolvers` does it right.","The 'deferred promise' pattern — storing resolve and reject outside the constructor so you can call them later — is a daily JavaScript idiom that's always felt awkward. ES2024 added a one-liner for it.","\u002Fmedia\u002Fcovers\u002Fpromise-with-resolvers.png","2026-07-22T08:35:52.029Z",466,{"id":57,"name":58,"username":59,"avatarUrl":50,"headline":60},{"slug":6,"name":7,"accentFrom":10,"accentTo":11},{"slug":63,"name":64},[207,208,209,210],{"slug":63,"name":67,"color":50},{"slug":69,"name":70,"color":50},{"slug":167,"name":171,"color":50},{"slug":211,"name":212,"color":50},"asyncjs","Asyncjs",{"assessments":78},{"slug":197},{"id":216,"slug":217,"title":218,"subtitle":50,"excerpt":219,"coverUrl":220,"locale":13,"readingMinutes":86,"publishedAt":221,"viewCount":222,"likeCount":19,"commentCount":19,"author":223,"vertical":224,"topic":225,"tags":226,"_count":233,"playground":234,"hasQuiz":17,"hasPlayground":17},"019fe660-5f55-701e-9cf4-dc0c9f0517b9","error-cause-rethrow-context","You're rethrowing errors and losing context. `Error.cause` fixes that.","Every time you catch an error and rethrow a new one without forwarding the original, you lose the stack trace, the error type, and everything useful about what actually went wrong. ES2022 added `Error.cause` to fix exactly this.","\u002Fmedia\u002Fcovers\u002Ferror-cause-rethrow-context.png","2026-07-21T08:36:02.331Z",396,{"id":57,"name":58,"username":59,"avatarUrl":50,"headline":60},{"slug":6,"name":7,"accentFrom":10,"accentTo":11},{"slug":63,"name":64},[227,228,229,232],{"slug":63,"name":67,"color":50},{"slug":69,"name":70,"color":50},{"slug":230,"name":231,"color":50},"node","Node",{"slug":167,"name":171,"color":50},{"assessments":78},{"slug":217},{"id":236,"slug":237,"title":238,"subtitle":50,"excerpt":239,"coverUrl":240,"locale":13,"readingMinutes":241,"publishedAt":242,"viewCount":243,"likeCount":19,"commentCount":19,"author":244,"vertical":245,"topic":246,"tags":247,"_count":254,"playground":255,"hasQuiz":17,"hasPlayground":17},"019fe660-57eb-7258-b452-d66ff04d2380","weekly-typescript-generics","TypeScript Generics: The Complete Guide (with Cheat Sheet)","Learn TypeScript generics from the ground up — generic functions, constraints, defaults, and classes — with worked examples and a copy-paste cheat sheet.","\u002Fmedia\u002Fcovers\u002Fweekly-typescript-generics.png",15,"2026-07-20T09:23:23.621Z",381,{"id":57,"name":58,"username":59,"avatarUrl":50,"headline":60},{"slug":6,"name":7,"accentFrom":10,"accentTo":11},{"slug":167,"name":168},[248,249,250,253],{"slug":167,"name":171,"color":50},{"slug":63,"name":67,"color":50},{"slug":251,"name":252,"color":50},"tutorial","Tutorial",{"slug":69,"name":70,"color":50},{"assessments":78},{"slug":237},{"id":257,"slug":258,"title":259,"subtitle":50,"excerpt":260,"coverUrl":261,"locale":13,"readingMinutes":86,"publishedAt":262,"viewCount":263,"likeCount":19,"commentCount":19,"author":264,"vertical":265,"topic":266,"tags":267,"_count":272,"playground":273,"hasQuiz":17,"hasPlayground":17},"019fe660-503a-7133-b7b0-7d5ce9587539","intersection-observer-visibility","Your scroll listener fires on every pixel. `IntersectionObserver` fires when visibility actually changes.","Detecting whether an element is in the viewport by listening to scroll events runs an expensive layout calculation on every frame. `IntersectionObserver` is the browser-native alternative — it fires only when visibility changes, off the main thread, with no scroll handler involved.","\u002Fmedia\u002Fcovers\u002Fintersection-observer-visibility.png","2026-07-19T08:25:59.411Z",293,{"id":57,"name":58,"username":59,"avatarUrl":50,"headline":60},{"slug":6,"name":7,"accentFrom":10,"accentTo":11},{"slug":63,"name":64},[268,269,270,271],{"slug":63,"name":67,"color":50},{"slug":69,"name":70,"color":50},{"slug":72,"name":73,"color":50},{"slug":75,"name":76,"color":50},{"assessments":78},{"slug":258},{"id":275,"slug":276,"title":277,"subtitle":50,"excerpt":278,"coverUrl":279,"locale":13,"readingMinutes":53,"publishedAt":280,"viewCount":281,"likeCount":19,"commentCount":19,"author":282,"vertical":283,"topic":284,"tags":285,"_count":290,"playground":291,"hasQuiz":17,"hasPlayground":17},"019fe660-48c5-70fe-a5b4-b20c5b2661e7","css-anchor-positioning","You're using Floating UI to position your tooltip. The browser does it natively now.","CSS Anchor Positioning is Baseline 2026 — it lets any element declare itself an anchor and any floating element position relative to it in pure CSS. No JavaScript, no layout math, no ResizeObserver wiring.","\u002Fmedia\u002Fcovers\u002Fcss-anchor-positioning.png","2026-07-18T07:59:42.250Z",303,{"id":57,"name":58,"username":59,"avatarUrl":50,"headline":60},{"slug":6,"name":7,"accentFrom":10,"accentTo":11},{"slug":92,"name":93},[286,287,288,289],{"slug":92,"name":96,"color":50},{"slug":69,"name":70,"color":50},{"slug":72,"name":73,"color":50},{"slug":63,"name":67,"color":50},{"assessments":78},{"slug":276},{"page":293,"perPage":294,"total":295,"totalPages":296},7,12,107,9,[298,299,301,303,305,307,308,312,313,316,317,320],{"slug":69,"name":70,"articles":295},{"slug":63,"name":67,"articles":300},89,{"slug":72,"name":73,"articles":302},72,{"slug":92,"name":96,"articles":304},36,{"slug":251,"name":252,"articles":306},35,{"slug":167,"name":171,"articles":241},{"slug":309,"name":310,"articles":311},"react","React",13,{"slug":75,"name":76,"articles":294},{"slug":314,"name":315,"articles":296},"browser","Browser",{"slug":230,"name":231,"articles":296},{"slug":318,"name":319,"articles":293},"html","Html",{"slug":321,"name":322,"articles":293},"accessibility","Accessibility",[324,325,326,327,328,329,330,331,332,333,334,335,336,340,343,346,349,352,355,358,361,364,367,370,373,376,379,382,385,388,391,394,397,400,403,406],{"slug":69,"name":70,"color":50,"articles":295},{"slug":63,"name":67,"color":50,"articles":300},{"slug":72,"name":73,"color":50,"articles":302},{"slug":92,"name":96,"color":50,"articles":304},{"slug":251,"name":252,"color":50,"articles":306},{"slug":167,"name":171,"color":50,"articles":241},{"slug":309,"name":310,"color":50,"articles":311},{"slug":75,"name":76,"color":50,"articles":294},{"slug":230,"name":231,"color":50,"articles":296},{"slug":314,"name":315,"color":50,"articles":296},{"slug":318,"name":319,"color":50,"articles":293},{"slug":321,"name":322,"color":50,"articles":293},{"slug":337,"name":338,"color":50,"articles":339},"programming","Programming",6,{"slug":341,"name":342,"color":50,"articles":339},"grammar","Grammar",{"slug":344,"name":345,"color":50,"articles":86},"nestjs","Nestjs",{"slug":347,"name":348,"color":50,"articles":86},"nextjs","Nextjs",{"slug":350,"name":351,"color":50,"articles":86},"apis","Apis",{"slug":353,"name":354,"color":50,"articles":43},"nuxt","Nuxt",{"slug":356,"name":357,"color":50,"articles":43},"ssr","SSR",{"slug":359,"name":360,"color":50,"articles":43},"ai","Ai",{"slug":362,"name":363,"color":50,"articles":43},"vue","Vue",{"slug":365,"name":366,"color":50,"articles":31},"security","Security",{"slug":368,"name":369,"color":50,"articles":31},"async","Async",{"slug":371,"name":372,"color":50,"articles":31},"forms","Forms",{"slug":374,"name":375,"color":50,"articles":31},"api","API",{"slug":377,"name":378,"color":50,"articles":31},"english","English",{"slug":380,"name":381,"color":50,"articles":31},"verbs","Verbs",{"slug":383,"name":384,"color":50,"articles":31},"spanish","Spanish",{"slug":386,"name":387,"color":50,"articles":31},"a1","A1",{"slug":389,"name":390,"color":50,"articles":31},"a2","A2",{"slug":392,"name":393,"color":50,"articles":31},"tenses","Tenses",{"slug":395,"name":396,"color":50,"articles":31},"turkish","Turkish",{"slug":398,"name":399,"color":50,"articles":31},"career","Career",{"slug":401,"name":402,"color":50,"articles":31},"beginners","Beginners",{"slug":404,"name":405,"color":50,"articles":31},"productivity","Productivity",{"slug":407,"name":408,"color":50,"articles":31},"discuss","Discuss"]