mirror of
https://github.com/facebook/react.git
synced 2026-11-18 20:15:56 +00:00
Changes playground to use the modified `run()` function of the compiler, polling the generator and building up a Map of tabs automatically based on the passes that the compiler runs. This means tabs are always derived from the current state of the compiler and we can never forget to add a pass. <img width="1497" alt="Screen Shot 2023-01-10 at 11 06 03 AM" src="https://user-images.githubusercontent.com/6425824/211639442-da421f73-e19e-4b63-9f33-0ce5a68cceb7.png"> Note the inclusion of some recently added passes that weren't added to the playground — which was my fault but only bc i intended to ship this PR soon :-)