mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
45331ef21b9b25c784e73bdda3c529d2074612cb
--- Simplify Environment options by: - EnvironmentOptions -> EnvironmentConfig config is now directly passed around instead of being eagerly merged. - Moving merging / initialization logic into `Environment` constructor. From my understanding, there is no need to decouple merged options from an environment. This prepares Environment for the next PR, which adds non-stateful properties to Environment (i.e. a `GlobalRegistry`) that should be converted from config values (i.e. not directly exposed to the user due to potentially inconsistent inputs)
Languages
JavaScript
67.1%
TypeScript
29.4%
HTML
1.5%
CSS
1.1%
C++
0.6%
Other
0.2%