Monorepos - What, Why, When and How | Full Stack React + Hono Example

Syntax December 24, 2024
Video Thumbnail

About

No channel description available.

Video Description

In this video CJ explains monorepos. What they are, why they exist and when to use them. He also gives some tips and tricks for working in a full stack React + Hono monorepo. 00:00 intro 00:27 what is a monorepo? 01:33 why do we need monorepos? 04:04 when should we NOT use monorepos? 05:23 real world monorepo examples 08:12 tools to create workspaces / monorepos 09:16 example app overview 09:52 workspace setup 10:51 namespaces 12:45 Tip: Share Configuration 12:57 shared typescript settings 13:50 sharing eslint config 15:39 Tip: Typescript Path Aliases 16:53 Tip: Use the pnpm Task Runner 18:15 Tip: Proxy API Request 20:07 Tip: Client Build / Static Serve / SPA Redirect 22:29 Tip: Sharing Hono Types 24:45 Tip: Hono RPC Client Build 26:15 Tip: Restructure and Restrict Exports 28:08 other monorepo tools 29:04 monorepo alternatives 32:02 thanks! View the code here: https://github.com/w3cj/monorepo-example-tasks-app ------------------------------------------------------------------------------ Hit us up on Socials! https://www.syntax.fm/links Brought to you by Sentry - Use code "tastytreats" to get 2 months free - https://sentry.io/syntax #webdevelopment #tools #techniques

Coding Efficiency Essentials

AI-recommended products based on this video

Loading...
Thdeukoty Mini PC with Core i9-9880H 2.3 up to 4.8GHz, 64G DDR4 2T SSD, Windows 11 Pro Desktop Computer, DP*1, HDMI*2 4K@60Hz Triple Display, Optical, Dual LAN, WiFi6E/BT5.3,VESA

Thdeukoty Mini PC with Core i9-9880H 2.3 up to 4.8GHz, 64G DDR4 2T SSD, Windows 11 Pro Desktop Computer, DP*1, HDMI*2 4K@60Hz Triple Display, Optical, Dual LAN, WiFi6E/BT5.3,VESA

(12)
$938.00
FREE delivery Aug 12 - 15
Loading...
GEEKOM A5 Mini PC, AMD Ryzen 7 5825U(8C/16T, up to 4.5GHz), 16GB DDR4&512GB M.2 PCIe NVMe SSD, Vega 8 Graphics, Windows 11 Pro Desktop Computer Support 8K UHD/Wi-Fi 6/Bluetooth 5.2/USB 3.2

GEEKOM A5 Mini PC, AMD Ryzen 7 5825U(8C/16T, up to 4.5GHz), 16GB DDR4&512GB M.2 PCIe NVMe SSD, Vega 8 Graphics, Windows 11 Pro Desktop Computer Support 8K UHD/Wi-Fi 6/Bluetooth 5.2/USB 3.2

(170)
$419.00
FREE delivery Sat, Jun 21
Loading...
GEEKOM A6 Mini PC (3-Year Quality Support) with AMD Ryzen 7 6800H(8C/16T), 32GB DDR5&1TB M.2 2280 NVMe Gen4*4 SSD, Windows 11 Pro Desktop Computer Support 8K UHD/Wi-Fi 6/Bluetooth 5.2/USB 3.2

GEEKOM A6 Mini PC (3-Year Quality Support) with AMD Ryzen 7 6800H(8C/16T), 32GB DDR5&1TB M.2 2280 NVMe Gen4*4 SSD, Windows 11 Pro Desktop Computer Support 8K UHD/Wi-Fi 6/Bluetooth 5.2/USB 3.2

(232)
$615.12
FREE delivery Sun, Aug 10
50+ bought in past month
Loading...
GEEKOM A8 AI Mini PC (3-Year Quality Support) with AMD Ryzen 9 8945HS Mini Computers, 32GB DDR5 RAM&2TB M.2 2280 NVMe Gen4*4 SSD, Windows 11 Pro Mini Desktop, WiFi 6E/BT5.2/USB4/8K/Quad Display

GEEKOM A8 AI Mini PC (3-Year Quality Support) with AMD Ryzen 9 8945HS Mini Computers, 32GB DDR5 RAM&2TB M.2 2280 NVMe Gen4*4 SSD, Windows 11 Pro Mini Desktop, WiFi 6E/BT5.2/USB4/8K/Quad Display

(215)
$1,159.40
FREE delivery Sun, Aug 10
Loading...
Monster N-Lite 211 Wireless Earbuds, Bluetooth 6.0 Stereo Headphones with Noise-Cancelling Mic and LED Display, Built-in Mic for Clear Calls, Waterproof Design for Sports

Monster N-Lite 211 Wireless Earbuds, Bluetooth 6.0 Stereo Headphones with Noise-Cancelling Mic and LED Display, Built-in Mic for Clear Calls, Waterproof Design for Sports

(8)
$39.99
FREE delivery Tue, Nov 4
Loading...
Monster N-Lite 211 Wireless Earbuds, Bluetooth 6.0 Stereo Headphones with Powerful Bass, Built-in Noise-Cancelling Mic for Clear Calls, LED Display, 36H Playtime, IPX5 Waterproof Design for Sports

Monster N-Lite 211 Wireless Earbuds, Bluetooth 6.0 Stereo Headphones with Powerful Bass, Built-in Noise-Cancelling Mic for Clear Calls, LED Display, 36H Playtime, IPX5 Waterproof Design for Sports

(40)
$39.99
FREE delivery Thu, Nov 13
Loading...
ANCEL AD310 Classic Enhanced Universal OBD II Scanner Car Engine Fault Code Reader CAN Diagnostic Tool (Black) Global Recycled Standard

ANCEL AD310 Classic Enhanced Universal OBD II Scanner Car Engine Fault Code Reader CAN Diagnostic Tool (Black) Global Recycled Standard

(58,064)
$31.99
FREE delivery Sat, Jan 3 on your first order
4K+ bought in past month
Loading...
MOTOPOWER MP69033 Car OBD2 Scanner Code Reader Engine Fault Scanner CAN Diagnostic Scan Tool for All OBD II Protocol Cars Since 1996, Yellow

MOTOPOWER MP69033 Car OBD2 Scanner Code Reader Engine Fault Scanner CAN Diagnostic Scan Tool for All OBD II Protocol Cars Since 1996, Yellow

(47,222)
$29.99
FREE delivery Sat, Jan 3 on your first order
2K+ bought in past month
Loading...
SAMSUNG 990 PRO SSD 4TB PCIe Gen4 NVMe M.2 Internal Solid State Hard Drive, Up to 7,450MB/s, Heat Control, Direct Storage and Memory Expansion, MZ-V9P4T0B/AM [Canada Version]

SAMSUNG 990 PRO SSD 4TB PCIe Gen4 NVMe M.2 Internal Solid State Hard Drive, Up to 7,450MB/s, Heat Control, Direct Storage and Memory Expansion, MZ-V9P4T0B/AM [Canada Version]

(12,872)
$499.97$407.80
FREE delivery Tue, Jun 17
300+ bought in past month