From ad4b6202783121b3cf040e4de332a1309da3e4b5 Mon Sep 17 00:00:00 2001 From: Al Diaz Date: Fri, 8 May 2026 17:28:13 -0700 Subject: [PATCH 1/4] Lessons cleanup: grammar, factual accuracy, code bugs, hygiene MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Lessons (00_*–12_*): - Grammar pass across all lessons: Spanish-calque "if not, ..." rewritten to "but rather, ...", "in deep" → "in depth", "Programing" → "Programming", "cristal" → "crystal", "componenDidMount" → "componentDidMount", "patten" → "pattern", "thorugh" → "through", "advice" → "advise", "you/your", "an example/an particularly", "ouput/outpout" → "output", "remember you" → "remind you", "What is Destructure" → "Destructuring", "Name export" → "Named export", and many similar typo/copy-edit fixes. - 06_lifecycle-events.md: replaced the conflated single "Order of execution" list with three phases — Mounting, Updating, Unmounting. Removed componentWillUnmount from the deprecated list (it is not deprecated) and renamed the deprecated entries to their UNSAFE_* form. - 02_0_components.md: replaced the "functional components perform better" claim with the real reasons to prefer them (hooks API, no this-binding, less boilerplate, easier composition). Switched the naming guidance to PascalCase / camelCase. Closed unclosed JSX tags in the Composition example. Added missing `import React from 'react'` to the HOC example. - 02_1_props.md: copy state before sorting (`[...this.state.users].sort(...)`) to avoid mutating it; wrapped the `
  • ` map output in a `