Skip to content

root is still react-root using withOptions() #10

Description

@jaypanares

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions