Skip to content

Conversation

@tolgap
Copy link
Member

@tolgap tolgap commented Feb 8, 2021

Vue 3 has a number of changes:

  • No more functional components. Instead, just create a function that returns the VNodes.
  • Render functions don't receive h anymore. h is now an export of vue which forces library authors to figure out how to depend on vue exports, without bundling the entirety of Vue into your library
  • Exposed an issue of unnecessary rendering when using custom nodeRenderers, which prompted the usage of readonly richtext document

Fixes #18

@tolgap tolgap self-assigned this Feb 8, 2021
@hturnbull93
Copy link

hturnbull93 commented Jul 4, 2022

Hi there @tolgap ! I hope you are well.

Now that Vue3 is released, shall this be merged and released?

It appears to work fine with my Vue3/Nuxt3 project, though it does suffer from faulty ESM export as described in this issue (though this is minor, I can import the cjs)

@tolgap tolgap merged commit 2f764bc into master Jul 4, 2022
@tolgap tolgap deleted the vue3 branch July 4, 2022 17:02
@tolgap
Copy link
Member Author

tolgap commented Jul 4, 2022

@hturnbull93 thanks for reminding me! Released as 3.0.0 🎉 .

@hturnbull93
Copy link

@tolgap Thank you :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Vue 3

3 participants