A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/vuejs/vue/commit/ab24285458c98e25d5749beb4edebef73672de4b below:

allow opting-out of caching by returning false in serverCa… · vuejs/vue@ab24285 · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+7

-2

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+7

-2

lines changed Original file line number Diff line number Diff line change

@@ -114,7 +114,12 @@ function renderComponent (node, isRoot, context) {

114 114

const registerComponent = registerComponentForCache(Ctor.options, write)

115 115 116 116

if (isDef(getKey) && isDef(cache) && isDef(name)) {

117 -

const key = name + '::' + getKey(node.componentOptions.propsData)

117 +

const rawKey = getKey(node.componentOptions.propsData)

118 +

if (rawKey === false) {

119 +

renderComponentInner(node, isRoot, context)

120 +

return

121 +

}

122 +

const key = name + '::' + rawKey

118 123

const { has, get } = context

119 124

if (isDef(has)) {

120 125

has(key, hit => {

@@ -188,7 +193,7 @@ function renderComponentInner (node, isRoot, context) {

188 193

context.activeInstance

189 194

)

190 195

normalizeRender(child)

191 - 196 + 192 197

const resolve = () => {

193 198

const childNode = child._render()

194 199

childNode.parent = node

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4