MCPcopy Index your code
hub / github.com/preactjs/preact / set

Function set

debug/src/debug.js:297–303  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

295 }
296 },
297 set() {
298 const key = 'set' + property + message;
299 if (deprecations && deprecations.indexOf(key) < 0) {
300 deprecations.push(key);
301 console.warn(`setting vnode.${property} is not allowed, ${message}`);
302 }
303 }
304 });
305
306 const deprecatedAttributes = {

Callers 1

debug.test.jsxFile · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected