Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
score: 1,
meta: 'field',
version: '0.0.0' }
]
});
const exportToLangStore = configureExportToLangStore({
localAppRegistry: localAppRegistry
});
const createViewStore = configureCreateViewStore({
localAppRegistry: localAppRegistry,
globalAppRegistry: appRegistry
});
const connection = new Connection({
hostname: '127.0.0.1',
port: 27017,
ns: 'admin'
});
const dataService = new DataService(connection);
dataService.connect((error, ds) => {
appRegistry.emit('data-service-connected', error, ds);
setDataProvider(store, error, ds);
setDataProvider(createViewStore, error, ds);
setNamespace(store, 'citibike.trips');
// setViewSource(store, 'citibike.tripsOfShortDuration', [{ $match: { gender: 1 }}]);
});
// Create a HMR enabled render function
const render = Component => {