Skip to content

Better Async Initialization

Compare
Choose a tag to compare
@KevinAst KevinAst released this 25 Jul 11:36
· 9 commits to master since this release
32e496b

GitHub ContentGitHub ReleaseDiff

Technical:

  • The bootstrap feature was replaced with feature-u's new v2.1.0 Feature.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).