~/talk

Migrating from Angular to React

Talkat ReactNext 2018 · on Sunday, 2018-11-04· [react]
slides:none on file

Claim: migrate an AngularJS app to React incrementally without a risky full rewrite. Demo shows a working Electron app migrated stepwise by building a new React bundle with webpack as UMD library, embedding it via an Angular directive that calls bootstrap/destroy with react lazy and react-dom unmount, bridging services with a withInjector HOC to access Angular’s injector, mapping routes with a custom Link for UI‑Router, and moving state into a MobX store. Repo is public and the end result runs with Angular removed.

AI-written summary · about

  1. 0:00Start
  2. 2:29Common Misconceptions
  3. 3:54Migrating Approaches
  4. 4:46Creating a New Project
  5. 6:42Create a Rapid Config
  6. 7:37Angular Directive
  7. 22:50Replacing More Elements
  8. 24:30Create a React Component
  9. 29:47Delete Code
~/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.