Skip to content

Support React version 0.13 #638

@gaearon

Description

@gaearon

React 0.13 brings parent-based context instead of owner-based context.

I'm getting tons of warnings with just published react@0.13.0-alpha.1 and the main problem seems to be that context is defined on router (makePath, makeHref, transitionTo, replaceWith, etc) but we're giving RouteHandler in render, so these keys don't appear in RouteHandler's parent-based context.

I still can't think quite straight about these changes but I assume some kind of wrapping RouteHandler into context parent will be necessary.

Edit (@mjackson): let's keep a checklist here:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions