How to use the @talend/react-containers/lib/register.registerAllContainers function in @talend/react-containers

To help you get started, we’ve selected a few @talend/react-containers examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Talend / data-prep / dataprep-webapp / src / app / configure.cmf.js View on Github external
sagaMiddleware.run(rootSaga);

		api.registerInternals();

		/**
		 * Register route functions
		 */
		const additionalRouteFunctions = additionalConfiguration.routeFunctions;
		if (additionalRouteFunctions) {
			Object.keys(additionalRouteFunctions).map(k =>
				registerRouteFunction(k, additionalRouteFunctions[k]),
			);
		}

		registerAllContainers();

		dataset.configure();

		/**
		 * Register expressions in CMF expressions dictionary
		 */
		const additionalExpressions = additionalConfiguration.expressions;
		if (additionalExpressions) {
			registerExpressions(additionalExpressions);
		}
		registerExpressions(api.expressions);

		/**
		 * Register components in CMF Components dictionary
		 */
		registerComponent('App', App);
github Talend / data-prep / dataprep-webapp / src / app / configure.cmf.js View on Github external
sagaMiddleware.run(rootSaga);

	api.registerInternals();

	/**
	 * Register route functions
	 */
	const additionalRouteFunctions = additionalConfiguration.routeFunctions;
	if (additionalRouteFunctions) {
		Object.keys(additionalRouteFunctions).map(k =>
			registerRouteFunction(k, additionalRouteFunctions[k]),
		);
	}

	registerAllContainers();

	dataset.configure();

	/**
	 * Register expressions in CMF expressions dictionary
	 */
	const additionalExpressions = additionalConfiguration.expressions;
	if (additionalExpressions) {
		registerExpressions(additionalExpressions);
	}
	registerExpressions(api.expressions);

	/**
	 * Register components in CMF Components dictionary
	 */
	registerComponent('App', App);