Moving JS from Libraries to Polyfills
summary
React moves toward a minimal API surface and prefers language features over special libraries while rolling experimental code behind polyfills first then replacing libs when standards stabilize. Practical problems include global Prototype collisions that broke mols and string contains versus includes, versioning and CDN single points, and early native implementations being slow so teams override native implementation until engines optimize. The working workflow is transpile modern syntax down and use polyfills as a service.
AI-written summary · about
chapters (9)
- 0:00Intro
- 3:07Facebook
- 5:10Adoption Curve
- 7:18Problems
- 7:59Versions
- 8:40Break the spec
- 11:19Break the prototype
- 13:15New syntax
- 15:14Too many options
related talks
27mUnderstanding JavaScript Libraries via React and the React Ecosystem
45mRefactoring the polyfills recipe
59mThe effect of React on web standards
24mMinimal API Surface Area
44mJavaScript in 2017: You might (not) need a framework
54mJavaScript Essentials for Programming with React
11m99 Ways to Take Away Your Ugly Polyfills
42mIntegrating React Into Legacy Projects
