npm vue-server-renderer 2.0.0-rc.5

latest releases: 2.7.16, 2.7.16-beta.2, 2.7.16-beta.1...
7 years ago

New

  • Custom directives now get a new hook: inserted, which will be called when the bound element has been inserted into its parent node. (Note this only guarantees parent node presence but not in-document)
  • SSR hydration now allows the client to hydrate a server-rendered node when it has no children. (Previously it would throw an error and bail out with a full re-render) This allows the server to render a static "app shell" and let the client pick it up.

Fixed

  • Reverted custom directive bind call timing due to it leading to incorrect v-show property switch timing during initial render.
  • #3556 fix v-on patching for cloned slot nodes
  • #3559 remove unnecessary appear check in v-show
  • #3595 fix incorrect duplicate slot warning when they are under v-if/v-else
  • #3611 fix v-for patching error by keying nested children by default

Don't miss a new vue-server-renderer release

NewReleases is sending notifications on new releases.