Kibana React - error when importing

Does your app import its own version of react? Might be best to just use the version that ships with Kibana. Here is an example plugin that sets up a react router that you can follow

Also a sample of the same issue discussed here: Creating custom Kibana plugin in React

also copying CC @jbudz for more inputs.