React Knowledgeable

React Knowledgeable, nicknamed <RK />, is a fun and friendly podium to share what we learn about React.

⚛️ React updates ⚛️

⚛️ React 16.9 is released

Featuring:

  • Deprecations! I like to live UNSAFE-ly (courtesy of codemods)!
  • "act()" your age (testing utility updates...)
  • We heard you like profiling, so have a <React.Profiler>! Will notify ON EVERY RENDER 🤪
  • Some news about why the "real" Suspense is not ready yet (fear not React Core Team we support you 4eva)

🛠 New DevTools (demo)

🥯 Flow v0.106 Coming Soon: Changes to Object Spreads

  • the current model is based on an assumption that inexact object types do not specify own-ness, this makes properties from spread become optional because object spread at run time copies only own properties
  • the new model assumes inexact object types specify own-ness on specified properties, therefore following our intuition of object spread more closely
  • inexact objects may contain more properties that may overwrite existing properties in spread target
  • the new model will err, tell us what happens, and ask if we can make the spreaded object exact