Skip to content

Mixins don't apply render() function #1630

@yusufkandemir

Description

@yusufkandemir

Version

3.0.0-rc.1

Reproduction link

https://codepen.io/yusufkandemir/pen/QWyJVaR

Steps to reproduce

Run the reproduction app, then confirm nothing is rendered and see the warning on the console.

What is expected?

A div that contains the text Test to be rendered. Also, no warnings should be on the console.

What is actually happening?

Nothing is rendered and there is a warning on the console that indicates there is no render function. Mixin has render() but it can't make it into the actual component somehow.


I have noticed this while migrating a Vue 2 app. I couldn't see a mention of this behavior in vuejs/vue-next, vuejs/rfcs, vuejs/docs-next and vuejs/vue-codemod, so I am guessing that this is either a bug or undocumented behavior.

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