~/talk

React: The Most Common Mistakes in 2023

Talkat JetBrains JavaScript Day 2023 · on Thursday, 2023-11-02· [react, frontend-architecture]
slides:none on file

Recommends switching foundations: use Vite over Create React App or consider Next.js for server rendering, move related code into a monorepo, and adopt TypeScript + Zod + MSW for safety and reliable local mocks. Cites that ~95% of teams now use TypeScript and a 3,000‑person poll where only ~5% often use useReducer. Advises unifying related state into one object, derive computed state instead of syncing in useEffect, prefer react‑query/SWR or server components for fetching, and memoize only when real cost appears.

AI-written summary · about

  1. 0:00Introduction
  2. 1:17Foundation
  3. 5:29Monor Repo
  4. 6:57TypeScript
  5. 12:08TypeScript ES Lint
  6. 13:14Lying to TypeScript
  7. 14:25Exporting Default on a separate line
  8. 18:50Overlooking Reuse Opportunities
  9. 19:57Design Systems
  10. 21:13Repeating Map Calls
  11. 23:58My Business
  12. 24:40State
  13. 27:27Multiple State Calls
  14. 30:13Use Effect
  15. 32:38Handling Forms
  16. 36:45Fetching
  17. 39:50QA
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.