Better Async Initialization
GitHub Content • GitHub Release • Diff
Technical:
-
The
bootstrap
feature was replaced with feature-u's new v2.1.0Feature.appInit()
Application Life Cycle Hook (supporting blocking async initialization). -
Added more intelligence to
featureFlags
regarding GPS location mocking.- A "New Orleans" location is forced when services are mocked, because that is where the mocked data is seeded.
- LOCATION defined constants are used for common mocking locations.
-
The console log now reflects any mocking setup (both GPS location, and services).
-
Simplified asynchronous processes via async/await (removing explicit promises).