Currently experiencing unexpected behavior. I'm using the following code:
import { FlowRouter } from 'meteor/kadira:flow-router';
import { mount, withOptions } from 'react-mounter';
import LoginForm from './components/LoginForm.jsx';
const mountWithOpts = withOptions({ rootId: 'app' }, mount);
FlowRouter.route('/', {
name: 'login',
action() {
mountWithOpts(LoginForm);
}
});
but the root still has an id of react-root. Was there something I missed? Thanks!
Currently experiencing unexpected behavior. I'm using the following code:
but the root still has an id of
react-root. Was there something I missed? Thanks!