Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cristianbote/goober
/ functions
Functions
62 in github.com/cristianbote/goober
⨍
Functions
62
◇
Types & classes
6
↓ 52 callers
Function
styled
* styled function * @param {string} tag * @param {function} forwardRef
src/styled.js:20
↓ 20 callers
Function
parse
(obj, selector)
src/core/parse.js:7
↓ 19 callers
Function
extractCss
(target)
src/core/update.js:6
↓ 16 callers
Function
getSheet
(target)
src/core/get-sheet.js:11
↓ 16 callers
Function
transform
(input, options = {})
packages/babel-plugin-transform-goober/__tests__/index.test.js:6
↓ 15 callers
Function
setup
(pragma, prefix, theme, forwardProps)
src/styled.js:5
↓ 12 callers
Function
update
(css, sheet, append, cssToReplace)
src/core/update.js:20
↓ 11 callers
Function
astish
(val)
src/core/astish.js:11
↓ 10 callers
Function
hash
(compiled, sheet, global, append, keyframes)
src/core/hash.js:35
↓ 8 callers
Function
template
(str, ...defs)
src/core/__tests__/compile.test.js:3
↓ 6 callers
Function
r
(Foo)
benchmarks/perf.compare.cjs:49
↓ 6 callers
Function
r
(Foo)
benchmarks/perf.compare.modern.cjs:38
↓ 6 callers
Function
toHash
(str)
src/core/to-hash.js:10
↓ 5 callers
Function
css
* css entry * @param {String|Object|Function} val
src/css.js:9
↓ 4 callers
Function
median
(arr)
benchmarks/run-ab.cjs:51
↓ 3 callers
Function
createGlobalStyles
()
global/src/index.js:13
↓ 3 callers
Function
createSuite
(name, arg)
benchmarks/perf.cjs:55
↓ 3 callers
Function
prefix
(property, value)
prefixer/src/index.js:3
↓ 3 callers
Function
prependPureComment
* Prepend #__PURE__ comment to help minifiers with * dead code elminiation (=DCE)
packages/babel-plugin-transform-goober/index.js:7
↓ 3 callers
Function
renderComponent
(Foo)
benchmarks/perf.cjs:51
↓ 3 callers
Function
sanitize
(str)
prefixer/__tests__/index.test.js:3
↓ 3 callers
Function
transformFile
(fixture, options = {})
packages/babel-plugin-transform-goober/__tests__/index.test.js:14
↓ 2 callers
Function
compile
(str, defs, data)
src/core/compile.js:8
↓ 2 callers
Function
createAssignment
(t, left, right)
packages/babel-plugin-transform-goober/index.js:15
↓ 2 callers
Function
shouldForwardProp
(filterPropFunction)
should-forward-prop/src/index.js:5
↓ 2 callers
Function
taggedBigCall
()
benchmarks/perf-parse.cjs:73
↓ 2 callers
Function
taggedBigCall
()
benchmarks/perf-parse.modern.cjs:79
↓ 1 callers
Function
arr
()
benchmarks/perf.cjs:37
↓ 1 callers
Function
buttonStyles
({ color }: Pick<ButtonProps, 'color'>)
ts-tests/test-api.tsx:24
↓ 1 callers
Function
def
()
benchmarks/perf.cjs:36
↓ 1 callers
Function
prerender
(data)
website/src/main.jsx:11
↓ 1 callers
Function
prerenderRoutes
()
website/prerender.js:11
↓ 1 callers
Function
stringify
(data)
src/core/hash.js:16
↓ 1 callers
Function
useTheme
()
src/__tests__/integrations.test.js:9
Function
App
()
website/src/App.jsx:23
Function
Feature
({ title, children, centered = false })
website/src/components/feature/feature.jsx:4
Function
HelloComponent
(props: { name: string })
ts-tests/test-api.tsx:69
Function
Home
()
website/src/pages/home/index.jsx:41
Function
Layout
({ children })
website/src/components/layout/layout.jsx:12
Function
Logo
()
website/src/components/logo/logo.jsx:3
Function
Nav
({ logo, buttons })
website/src/components/nav/nav.jsx:25
Function
NotFound
()
website/src/pages/NotFound.jsx:1
Function
Styled
(props, ref)
src/styled.js:26
Function
TaggedTemplateExpression
(path, state)
packages/babel-plugin-transform-goober/index.js:27
Function
TestComp
()
ts-tests/test-api.tsx:112
Function
TheGreatShaveOff
()
website/src/pages/the-great-shave-off/index.jsx:28
Function
arr
(props)
benchmarks/perf.compare.cjs:32
Function
arr
(props)
benchmarks/perf.compare.modern.cjs:21
Function
background
(p)
src/core/__tests__/compile.test.js:56
Function
color
(p)
src/core/__tests__/compile.test.js:55
Function
exit
(path)
packages/babel-plugin-transform-goober/index.js:85
Function
forwardProp
* The forward props function passed to `setup` * @param {object} props
should-forward-prop/src/index.js:10
Function
gooberMacro
({ references, babel, state })
macro/index.js:6
Function
inner
(props)
benchmarks/perf.compare.cjs:22
Function
inner
(props)
benchmarks/perf.compare.modern.cjs:11
Function
inner
(props)
benchmarks/perf.cjs:14
Function
onRenderBody
({ setHeadComponents, pathname })
packages/gatsby-plugin-goober/gatsby-ssr.js:11
Function
shouldForwardProp
(props)
src/__tests__/styled.test.js:135
Function
testGlob
()
ts-tests/test-api.tsx:141
Function
testStyledCss
()
ts-tests/test-api.tsx:17
Function
toMatchVNode
(received, tag, props)
src/__tests__/styled.test.js:9
Function
useTheme
()
global/src/__tests__/integration.test.js:31