componentDidUpdate()

in modules/manifold/src/components/geo-feature-container.js [69:80]


  componentDidUpdate(prevProps) {
    // keplerDatasets and keplerConfig are outputed by selectors (preventing unnecessary update)
    const {keplerDatasets, keplerConfig} = this.props;
    // Check whether these props have changed
    if (
      keplerDatasets !== prevProps.keplerDatasets ||
      keplerConfig !== prevProps.keplerConfig
    ) {
      // addDataToMap action to inject dataset into kepler.gl instance
      this.updateMap(keplerDatasets, keplerConfig);
    }
  }