Name: ArachneUI
Owner: Observational Health Data Sciences and Informatics
Description: Network infrastructure for collaborative studies across disparate data nodes and researches
Created: 2017-04-06 13:23:46.0
Updated: 2018-01-05 15:09:41.0
Pushed: 2018-01-15 16:42:21.0
Homepage: null
Size: 13342
Language: CSS
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Network infrastructure for collaborative studies across disparate data nodes and researches
After initiating project copy community code into community-src
folder:
clone https://bitbucket.org/Odysseus/arachnefront.git community-src
Implements ConnectedComponentBuilder.ts
:
rface ConnectedComponentBuilder {
pStateToProps: Function;
pDispatchToProps: Function;
rgeProps: Function;
tFetchers: Function;
ild: Function;
Implements ISelectorsBuilder
:
rface ISelectorsBuilder {
ild: () => Map<string, Selector<Object, any>>;
Separate functions for retrieving data from state, converting data (accept dependencies as function parameters), and for creation of selectors. E.g.:
s DataCatalogListTableSelectorsBuilder {
tSearchStr(state) {
return get(state, 'routing.locationBeforeTransitions.search', '');
tSearchQuery(searchStr) {
...
return someData;
ildSelectorForGetSearchQuery() {
return createSelector([this.getSearchStr], this.getSearchQuery);
ild() {
return {
getSearchQuery: this.buildSelectorForGetSearchQuery(),
};