Migrating from Flex to FlexJS
summary
Flex -> FlexJS migration is practical and done here across three major apps, with one large web app taking about a year; migrating a Flash panel takes ~2 months and TLF ~1 month. The procedure is: disconnect the view, create dummy classes until compilation drops from ~3,000 errors, then reattach and rebuild components. Expect to reimplement SVG rendering, a text engine (TLF), and fill missing framework pieces; watch Closure compiler circular-dependency rules, minification quirks, Chromium/V8 async boundaries, and browser SVG mouse-event inconsistencies.
AI-written summary · about
chapters (22)
- 0:00Intro
- 1:16What kind of name is "Harbs"?
- 1:42How Easy Is Migration?
- 2:15Why FlexJS?
- 3:21How do I know? Migrations done
- 5:09How long did they take?
- 6:47Challenges
- 8:07What works and What doesn't Works
- 10:06Where to start? 1. Use an IDE
- 13:18Concentrate on making the code compile
- 14:45Create "dummy" classes
- 15:53Advantages of dummy classes
- 17:25Reattach the view
- 17:50Rebuild Components
- 18:31Rework "dummy" classes
- 19:17Most Difficult Part
- 23:21Circulars
- 25:55Static const and initialized vars
- 27:41Beware of "as"
- 31:26Internal classes Generally work
- 33:02Copying assets
- 33:37Minification issues
related talks
33mMicro frontends: Unbelievably True Life Story
36mMigrating Babel from CommonJS to ESM
09mFinal Thoughts
34mSurviving the Big Rewrite
20mMoving JS from Libraries to Polyfills
40mMaking the Jump: How Desktop Era Frameworks can Thrive on Mobile
19mSelenium and Flex Pilot
44mMicro Frontend: the microservice puzzle extended to frontend
