Skip to content

Commit

Permalink
Load as little as possible in index.js for the skinner
Browse files Browse the repository at this point in the history
Imports are optimized to be concurrent/async by webpack, which means that when the old index.js referenced the Lifecycle from the react-sdk it caused the app to explode. This is because in another branch the Lifecycle references a class member of a skinnable component, leading to the skinner complaining that the skin hasn't been loaded.

To work around this, we've shoved all the app stuff to a new app.js file, leaving just the skinning and some early bootstrap work in the index.js
  • Loading branch information
turt2live committed Jan 21, 2020
1 parent 3e324f6 commit 99e1ff9
Show file tree
Hide file tree
Showing 2 changed files with 489 additions and 458 deletions.
Loading

0 comments on commit 99e1ff9

Please sign in to comment.