Refactor plugin to make it fast refreshable

Summary: Refactored Navigation plugin to make it fast-refreshable: moved the main component into a separate file and exported all components as named functions. Without these changes every change of UI triggered full reload.

Reviewed By: timur-valiev

Differential Revision: D29814077

fbshipit-source-id: 5285bdc5f14a5163f9501c0d45a3affefb08fc8e
This commit is contained in:
Anton Nikolaev
2021-07-21 07:23:48 -07:00
committed by Facebook GitHub Bot
parent a78b6124d7
commit d782f19001
13 changed files with 295 additions and 275 deletions

View File

@@ -7,12 +7,12 @@
* @format
*/
export {default as AutoCompleteSheet} from './AutoCompleteSheet';
export {default as BookmarksSidebar} from './BookmarksSidebar';
export {default as FavoriteButton} from './FavoriteButton';
export {default as IconButton} from './IconButton';
export {default as NavigationInfoBox} from './NavigationInfoBox';
export {default as RequiredParametersDialog} from './RequiredParametersDialog';
export {default as SaveBookmarkDialog} from './SaveBookmarkDialog';
export {default as SearchBar} from './SearchBar';
export {default as Timeline} from './Timeline';
export {AutoCompleteSheet} from './AutoCompleteSheet';
export {BookmarksSidebar} from './BookmarksSidebar';
export {FavoriteButton} from './FavoriteButton';
export {IconButton} from './IconButton';
export {NavigationInfoBox} from './NavigationInfoBox';
export {RequiredParametersDialog} from './RequiredParametersDialog';
export {SaveBookmarkDialog} from './SaveBookmarkDialog';
export {SearchBar} from './SearchBar';
export {Timeline} from './Timeline';