MCPcopy
hub / github.com/emotion-js/emotion / insertWithoutScoping

Function insertWithoutScoping

packages/css/src/create-instance.js:11–15  ·  view source on GitHub ↗
(cache, serialized: SerializedStyles)

Source from the content-addressed store, hash-verified

9} from '@emotion/utils'
10
11function insertWithoutScoping(cache, serialized: SerializedStyles) {
12 if (cache.inserted[serialized.name] === undefined) {
13 return cache.insert('', serialized, cache.sheet, true)
14 }
15}
16
17function merge(registered: Object, css: (*) => string, className: string) {
18 const registeredStyles = []

Callers 2

keyframesFunction · 0.85
injectGlobalFunction · 0.85

Calls 1

insertMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…