Skip to content

Commit

Permalink
fix(react): remove mission critical feature app todos (#297)
Browse files Browse the repository at this point in the history
We decided that this feature is implementable for the integrator with
reasonable effort without changes to the feature-hub/react package.
  • Loading branch information
fahrradflucht authored Jan 24, 2019
1 parent 50a883a commit da651bc
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion packages/react/src/feature-app-container.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ export class FeatureAppContainer extends React.PureComponent<
console.error(error);

if (!inBrowser) {
// TODO: we should only throw for "mission critical" Feature Apps ...
throw error;
}
}
Expand Down
1 change: 0 additions & 1 deletion packages/react/src/feature-app-loader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ export class FeatureAppLoader extends React.PureComponent<
this.reportError(asyncFeatureAppDefinition.error);

if (!inBrowser) {
// TODO: we should only throw for "mission critical" Feature Apps ...
throw asyncFeatureAppDefinition.error;
}

Expand Down

0 comments on commit da651bc

Please sign in to comment.