<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Javascript on Dev &amp; Platform Engineering Hub</title><link>https://rhidayat.work/topics/javascript/</link><description>Recent content in Javascript on Dev &amp; Platform Engineering Hub</description><generator>Hugo -- gohugo.io</generator><language>en</language><copyright>© 2026 Rachmat Hidayat</copyright><lastBuildDate>Sun, 09 Aug 2026 15:55:00 +0000</lastBuildDate><atom:link href="https://rhidayat.work/topics/javascript/index.xml" rel="self" type="application/rss+xml"/><item><title>TS Ep 70: Building a REST API with Effect</title><link>https://rhidayat.work/series/typescript/functional-effect/15-building-a-rest-api-with-effect/</link><pubDate>Sun, 09 Aug 2026 15:55:00 +0000</pubDate><guid>https://rhidayat.work/series/typescript/functional-effect/15-building-a-rest-api-with-effect/</guid><description>We assemble the ultimate functional backend. Learn how to combine Layers, Context, Schema Validation, Error Handling, and Resource Management into a massive, production-grade Express REST API using @effect/platform.</description></item><item><title>TS Ep 69: Managing Resources and Scope</title><link>https://rhidayat.work/series/typescript/functional-effect/14-resource-management-acquire-release/</link><pubDate>Sun, 09 Aug 2026 15:50:00 +0000</pubDate><guid>https://rhidayat.work/series/typescript/functional-effect/14-resource-management-acquire-release/</guid><description>Learn how to safely acquire and release resources like database connections and file streams. The Scope API replaces try/finally blocks, guaranteeing cleanup even if your application crashes.</description></item><item><title>TS Ep 68: Effect Schema Validation</title><link>https://rhidayat.work/series/typescript/functional-effect/13-effect-schema-validation/</link><pubDate>Sun, 09 Aug 2026 15:45:00 +0000</pubDate><guid>https://rhidayat.work/series/typescript/functional-effect/13-effect-schema-validation/</guid><description>TypeScript interfaces do not exist at runtime. To protect your application from malformed API payloads and corrupted database rows, learn how to use @effect/schema to parse and validate data perfectly.</description></item><item><title>TS Ep 67: Concurrency and Fibers</title><link>https://rhidayat.work/series/typescript/functional-effect/12-concurrency-and-fibers/</link><pubDate>Sun, 09 Aug 2026 15:40:00 +0000</pubDate><guid>https://rhidayat.work/series/typescript/functional-effect/12-concurrency-and-fibers/</guid><description>Learn how Effect-TS implements Fibers (green threads) to allow millions of concurrent operations. Master &lt;code&gt;Effect.all&lt;/code&gt;, concurrency limits, and safe interruption of background tasks.</description></item><item><title>TS Ep 66: Layers &amp; Service Wiring</title><link>https://rhidayat.work/series/typescript/functional-effect/11-layers-and-service-wiring/</link><pubDate>Sun, 09 Aug 2026 15:35:00 +0000</pubDate><guid>https://rhidayat.work/series/typescript/functional-effect/11-layers-and-service-wiring/</guid><description>Providing single services is easy, but enterprise applications have massive dependency graphs. Learn how to use Effect Layers to wire services together, handle async initialization, and resolve graphs perfectly.</description></item><item><title>TS Ep 65: Context &amp; Dependency Injection</title><link>https://rhidayat.work/series/typescript/functional-effect/10-context-and-dependency-injection/</link><pubDate>Sun, 09 Aug 2026 15:30:00 +0000</pubDate><guid>https://rhidayat.work/series/typescript/functional-effect/10-context-and-dependency-injection/</guid><description>Eliminate global singletons and complex IoC containers. Learn how the R parameter in Effect&amp;lt;A, E, R&amp;gt; forces you to provide dependencies before your program can run, ensuring perfect testability.</description></item><item><title>TS Ep 64: Error Handling in Effect</title><link>https://rhidayat.work/series/typescript/functional-effect/09-error-handling-in-effect/</link><pubDate>Sun, 09 Aug 2026 15:25:00 +0000</pubDate><guid>https://rhidayat.work/series/typescript/functional-effect/09-error-handling-in-effect/</guid><description>Effect-TS completely reimagines error handling. Learn the difference between Expected Failures and Unexpected Defects, and how to use &lt;code&gt;catchTag&lt;/code&gt; to build resilient, self-documenting pipelines.</description></item><item><title>TS Ep 63: Creating and Running Effects</title><link>https://rhidayat.work/series/typescript/functional-effect/08-creating-and-running-effects/</link><pubDate>Sun, 09 Aug 2026 15:20:00 +0000</pubDate><guid>https://rhidayat.work/series/typescript/functional-effect/08-creating-and-running-effects/</guid><description>To use Effect-TS, you must know how to bridge the gap between the chaotic outside world and your pure functional pipeline. Master the constructors and execution methods of the Effect runtime.</description></item><item><title>TS Ep 62: The Effect Type Signature</title><link>https://rhidayat.work/series/typescript/functional-effect/07-effect-type-signature/</link><pubDate>Sun, 09 Aug 2026 15:15:00 +0000</pubDate><guid>https://rhidayat.work/series/typescript/functional-effect/07-effect-type-signature/</guid><description>The heart of Effect-TS is its three-parameter type signature. Master the A (Success), E (Error), and R (Requirement) parameters to unlock perfect architectural safety.</description></item><item><title>TS Ep 61: Introduction to Effect-TS</title><link>https://rhidayat.work/series/typescript/functional-effect/06-introduction-to-effect-ts/</link><pubDate>Sun, 09 Aug 2026 15:10:00 +0000</pubDate><guid>https://rhidayat.work/series/typescript/functional-effect/06-introduction-to-effect-ts/</guid><description>We have built the functional foundation. Now it is time to enter the ecosystem. Discover why Effect-TS is rapidly becoming the standard library for enterprise TypeScript, and run your first pure asynchronous program.</description></item><item><title>TS Ep 60: Function Composition (Pipe &amp; Flow)</title><link>https://rhidayat.work/series/typescript/functional-effect/05-function-composition-pipe-flow/</link><pubDate>Sun, 09 Aug 2026 15:05:00 +0000</pubDate><guid>https://rhidayat.work/series/typescript/functional-effect/05-function-composition-pipe-flow/</guid><description>Learn how to avoid the &amp;lsquo;Pyramid of Doom&amp;rsquo; and method chaining limitations by embracing functional composition. We explore how &lt;code&gt;pipe&lt;/code&gt; and &lt;code&gt;flow&lt;/code&gt; allow you to build complex logic from small, testable pure functions.</description></item><item><title>TS Ep 59: Monadic Patterns (Option &amp; Either)</title><link>https://rhidayat.work/series/typescript/functional-effect/04-monadic-patterns-option-either/</link><pubDate>Sun, 09 Aug 2026 15:00:00 +0000</pubDate><guid>https://rhidayat.work/series/typescript/functional-effect/04-monadic-patterns-option-either/</guid><description>Learn how to wrap missing data and expected errors in type-safe containers. We explore the Option and Either monads, providing the final foundational step before entering the Effect-TS ecosystem.</description></item><item><title>TS Ep 58: Algebraic Data Types (ADTs)</title><link>https://rhidayat.work/series/typescript/functional-effect/03-algebraic-data-types-adt/</link><pubDate>Sun, 09 Aug 2026 14:55:00 +0000</pubDate><guid>https://rhidayat.work/series/typescript/functional-effect/03-algebraic-data-types-adt/</guid><description>Learn how to eliminate impossible states from your application by mastering Algebraic Data Types (ADTs). We explore Sum Types, Product Types, and exhaustive pattern matching in TypeScript.</description></item><item><title>TS Ep 57: Immutability &amp; Readonly Data</title><link>https://rhidayat.work/series/typescript/functional-effect/02-immutability-and-readonly-data/</link><pubDate>Sun, 09 Aug 2026 14:50:00 +0000</pubDate><guid>https://rhidayat.work/series/typescript/functional-effect/02-immutability-and-readonly-data/</guid><description>Functional programming requires data to be immutable. Discover how to leverage TypeScript&amp;rsquo;s structural typing, &lt;code&gt;Readonly&amp;lt;T&amp;gt;&lt;/code&gt;, and &lt;code&gt;as const&lt;/code&gt; to enforce deep immutability at compile time, eliminating a massive category of state-based bugs.</description></item><item><title>TS Ep 56: Functional Programming Basics &amp; Pure Functions</title><link>https://rhidayat.work/series/typescript/functional-effect/01-functional-programming-basics-pure-functions/</link><pubDate>Sun, 09 Aug 2026 14:45:00 +0000</pubDate><guid>https://rhidayat.work/series/typescript/functional-effect/01-functional-programming-basics-pure-functions/</guid><description>Welcome to the final module! Before diving into Effect-TS, we must build a foundation in Functional Programming. Learn why pure functions eliminate whole classes of bugs, how separating descriptions from execution powers the Effect runtime, and how to refactor impure services into highly testable functional pipelines.</description></item><item><title>TS Ep 3: Advanced TypeScript — Conditional Types, Infer Keyword, and Template Literal Metaprogramming</title><link>https://rhidayat.work/series/typescript/advanced/03-conditional-types-infer-and-template-literals/</link><pubDate>Sun, 09 Aug 2026 13:30:00 +0000</pubDate><guid>https://rhidayat.work/series/typescript/advanced/03-conditional-types-infer-and-template-literals/</guid><description>An advanced masterclass in TypeScript type-level metaprogramming. Master conditional types (T extends U ? X : Y), distributive behavior, infer keyword pattern matching for unwrapping types, template literal types (${T}_${U}), and deep recursive object transformations.</description></item><item><title>TS Ep 2: Intermediate TypeScript — Generics, Type Helpers, and Mapped Types</title><link>https://rhidayat.work/series/typescript/intermediate/02-type-transformations-and-generics/</link><pubDate>Sun, 09 Aug 2026 13:00:00 +0000</pubDate><guid>https://rhidayat.work/series/typescript/intermediate/02-type-transformations-and-generics/</guid><description>An in-depth guide to intermediate TypeScript type transformations. Master generic functions and constraints (extends), indexed access types, keyof/typeof operators, built-in helpers (Pick, Omit, Record, ReturnType), and mapped type transformations.</description></item><item><title>TS Ep 1: Fundamental TypeScript — Inference, Type Narrowing, and Discriminated Unions</title><link>https://rhidayat.work/series/typescript/fundamental/01-typescript-fundamentals-and-narrowing/</link><pubDate>Sun, 09 Aug 2026 12:30:00 +0000</pubDate><guid>https://rhidayat.work/series/typescript/fundamental/01-typescript-fundamentals-and-narrowing/</guid><description>The foundational guide to mastering TypeScript. Learn how the type inference engine works, master type narrowing with typeof, instanceof, in, and custom type predicates (is), build type-safe discriminated unions, and use as const assertions.</description></item><item><title>Mastering TypeScript: From Fundamentals to Type-Level Programming &amp; Functional Effect-TS</title><link>https://rhidayat.work/series/typescript/</link><pubDate>Sun, 09 Aug 2026 12:00:00 +0000</pubDate><guid>https://rhidayat.work/series/typescript/</guid><description>The ultimate TypeScript masterclass roadmap. Master primitive types, type narrowing, generics, mapped types, conditional types, infer keyword, template literal types, type-level state machines, and functional Effect-TS architecture.</description></item><item><title>TS Ep 2: Primitive Types — Deep Dive into JS Primitives</title><link>https://rhidayat.work/series/typescript/fundamental/02-primitive-types/</link><pubDate>Sun, 09 Aug 2026 10:05:00 +0000</pubDate><guid>https://rhidayat.work/series/typescript/fundamental/02-primitive-types/</guid><description>An exhaustive breakdown of TypeScript&amp;rsquo;s 7 primitive types. Learn how TS handles floating-point numbers, BigInts, symbols, strictNullChecks, and the critical structural differences between lowercase primitive types and uppercase Object wrappers.</description></item><item><title>TS Ep 1: Introduction, Compilation, and Compiler Setup</title><link>https://rhidayat.work/series/typescript/fundamental/01-introduction-and-setup/</link><pubDate>Sun, 09 Aug 2026 10:00:00 +0000</pubDate><guid>https://rhidayat.work/series/typescript/fundamental/01-introduction-and-setup/</guid><description>An in-depth introduction to TypeScript architecture. Understand static type checking vs runtime behavior, the internal stages of the TypeScript compiler (tsc), type erasure, and how to configure tsconfig.json with strict flags for professional development.</description></item></channel></rss>