Why do some components require “UIExplorerBlock required” and “UIExplorerPage required”?

In-native reaction for components like ToolbarAndroid, Switch, ProcessBar, ToastAndroid, ListView, etc. the following is required, and I could not find an explanation of why this is necessary:

var UIExplorerBlock = require('./UIExplorerBlock'); var UIExplorerPage = require('./UIExplorerPage'); 

and correspondingly

 <UIExplorerPage> <UIExplorerBlock> .. </UIExplorerBlock> </UIExplorerPage> 
+6
source share
1 answer

These components are part of the UI Explorer application. They use them to store DRY example code.

You should not use the UIExplorer* components in your own code.

+7
source

All Articles