Skip to content

Render functions behaviour changed without notice #3919

@miljan-aleksic

Description

@miljan-aleksic

Since version 2.0.2 there are subtle changes in how createElement behave.

  1. The createElement first argument, if a String, can only by HTML tag. Prior it was accepting globally registered components.
  2. The render function must return some value. Before it was not getting rendered without rising errors.

Both examples raise the Cannot set property 'functionalContext' of undefined error.

JSFiddle Link

http://jsfiddle.net/miljan/vqpwdfrf/2/

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions