fix(react): handle undefined attributes better, fixes #19563, #19580 (#19588)

This commit is contained in:
Ely Lucas
2019-10-09 10:36:25 -06:00
committed by GitHub
parent 7ce916cc7c
commit 033abe994b
10 changed files with 22 additions and 37 deletions

View File

@ -1,14 +0,0 @@
import * as React from 'react';
import { deprecationWarning } from '../utils';
export class ViewManager extends React.Component<{}, {}> {
componentDidMount() {
deprecationWarning('As of @ionic/react RC2, ViewManager is no longer needed and can be removed. This component is now deprecated will be removed from @ionic/react final.');
}
render() {
return this.props.children;
}
}

View File

@ -1,3 +1,2 @@
export { IonReactRouter } from './Router';
export { ViewManager } from './ViewManager';