Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FormidableLabs/react-live
/ functions
Functions
72 in github.com/FormidableLabs/react-live
⨍
Functions
72
◇
Types & classes
7
↓ 12 callers
Function
render
(element)
packages/react-live/src/utils/test/renderer.js:21
↓ 4 callers
Function
errorCallback
(error: Error)
packages/react-live/src/components/Live/LiveProvider.tsx:40
↓ 3 callers
Function
errorBoundary
( Element: ComponentType, errorCallback: (error: Error) => void, )
packages/react-live/src/utils/transpile/errorBoundary.tsx:3
↓ 3 callers
Function
generateElement
( { code = "", scope = {}, enableTypeScript = true }: GenerateOptions, errorCallback: (error: Error) => vo
packages/react-live/src/utils/transpile/index.ts:17
↓ 3 callers
Method
render
()
packages/react-live/src/utils/test/errorBoundary.test.jsx:23
↓ 3 callers
Function
transform
(opts: Options = {})
packages/react-live/src/utils/transpile/transform.ts:9
↓ 2 callers
Function
codeTextNode
(element)
packages/react-live/src/components/Editor/index.test.jsx:29
↓ 2 callers
Function
compose
(...functions: ((...args: T[]) => T)[])
packages/react-live/src/utils/transpile/compose.ts:5
↓ 2 callers
Function
evalCode
( code: string, scope: Record<string, unknown>, )
packages/react-live/src/utils/transpile/evalCode.ts:3
↓ 2 callers
Function
loadStories
()
packages/react-live/stories/load.ts:26
↓ 2 callers
Function
renderElementAsync
( { code = "", scope = {}, enableTypeScript = true }: GenerateOptions, resultCallback: (sender: ComponentT
packages/react-live/src/utils/transpile/index.ts:47
↓ 2 callers
Function
renderToMarkup
(element)
packages/react-live/src/utils/test/renderer.js:18
↓ 2 callers
Function
shallow
(element)
packages/react-live/src/utils/test/renderer.js:23
↓ 2 callers
Function
story
( Component: C, { args, render, expectsError }: Story<C> = {}, )
packages/react-live/stories/story.ts:32
↓ 2 callers
Function
transpileAsync
(newCode: string)
packages/react-live/src/components/Live/LiveProvider.tsx:39
↓ 2 callers
Function
withLive
( WrappedComponent: ComponentType<T & Props>, )
packages/react-live/src/hoc/withLive.tsx:12
↓ 1 callers
Function
bg
(theme)
packages/react-live/src/components/Editor/index.test.jsx:129
↓ 1 callers
Function
curriedAdd
(a)
packages/react-live/src/utils/test/compose.test.js:5
↓ 1 callers
Function
curriedSubtract
(a)
packages/react-live/src/utils/test/compose.test.js:6
↓ 1 callers
Function
isStory
(value: unknown)
packages/react-live/stories/load.ts:17
↓ 1 callers
Method
render
()
packages/react-live/src/components/Live/ErrorBoundary.tsx:26
↓ 1 callers
Function
renderEditor
(props)
packages/react-live/src/components/Live/editor-interaction.browser.test.jsx:81
↓ 1 callers
Function
renderEditor
(props)
packages/react-live/src/components/Editor/index.test.jsx:34
↓ 1 callers
Function
renderElement
(element: ComponentType)
packages/react-live/src/components/Live/LiveProvider.tsx:58
↓ 1 callers
Function
renderLive
(props)
packages/react-live/src/components/Live/LiveProvider.test.jsx:14
↓ 1 callers
Function
settle
()
packages/react-live/src/components/Live/live-components.test.jsx:11
↓ 1 callers
Function
settle
()
packages/react-live/src/components/Editor/index.test.jsx:15
↓ 1 callers
Function
setup
(code)
packages/react-live/src/components/Live/editor-interaction.browser.test.jsx:19
↓ 1 callers
Function
suppressExpectedErrors
()
packages/react-live/stories/stories.browser.test.tsx:23
↓ 1 callers
Function
textNodes
(element)
packages/react-live/src/components/Editor/index.test.jsx:17
↓ 1 callers
Function
typeCharacter
(element, character)
packages/react-live/src/components/Editor/index.test.jsx:66
↓ 1 callers
Function
ui
(code)
packages/react-live/src/components/Live/ErrorBoundary.test.jsx:77
↓ 1 callers
Function
unmount
({ container, root })
packages/react-live/src/components/Editor/index.test.jsx:79
↓ 1 callers
Function
walk
(node)
packages/react-live/src/components/Editor/index.test.jsx:19
Function
App
()
packages/react-live/stories/main.tsx:115
Function
Boom
()
packages/react-live/src/components/Live/ErrorBoundary.test.jsx:8
Function
CodeEditor
(props: Props)
packages/react-live/src/components/Editor/index.tsx:21
Function
DemoLiveEditor
({ noInline = false, code }: Props)
website/src/components/live-edit.tsx:9
Function
Header
()
packages/react-live/stories/main.tsx:25
Function
Index
()
website/src/pages/index.tsx:26
Function
LandingBanner
({ body, cta, heading, showDivider, }: { body: string; cta: { link: string; text: string }; head
website/src/components/landing/landing-banner.tsx:5
Function
LandingDivider
()
website/src/components/landing/landing-divider.tsx:3
Function
LandingFeaturedProjects
({ heading, projects, showDivider, }: { heading: string; projects: { name: featuredProject;
website/src/components/landing/landing-featured-projects.tsx:17
Function
LandingFeatures
({ heading, list, showDivider, }: { heading: string; list: { imgSrc: string; alt: string; title: str
website/src/components/landing/landing-features.tsx:4
Function
LandingHero
({ body, copyText, heading, navItems, }: { body: string; copyText: string; heading: string; na
website/src/components/landing/landing-hero.tsx:4
Function
LandingLogos
({ body, heading, list, showDivider, }: { body: string; heading: string; list: { imgSrc: string;
website/src/components/landing/landing-logos.tsx:4
Function
LiveEditor
(props: Partial<EditorProps>)
packages/react-live/src/components/Live/LiveEditor.tsx:5
Function
LiveError
(props: T)
packages/react-live/src/components/Live/LiveError.tsx:4
Function
LivePreview
({ Component = "div", ...rest }: Props)
packages/react-live/src/components/Live/LivePreview.tsx:17
Function
LiveProvider
({ children, code = "", language = "tsx", theme, enableTypeScript = true, disabled = false, scop
packages/react-live/src/components/Live/LiveProvider.tsx:23
Function
NFLinkButton
({ children, link }: ButtonProps)
website/src/components/landing/nf-link-button.tsx:9
Function
Playground
(props: ComponentProps<typeof LiveProvider>)
packages/react-live/stories/live.stories.tsx:17
Function
Sidebar
()
packages/react-live/stories/main.tsx:62
Function
Story
()
packages/react-live/stories/main.tsx:23
Function
Story
()
packages/react-live/stories/stories.browser.test.tsx:49
Function
WithLive
(props: T)
packages/react-live/src/hoc/withLive.tsx:15
Function
Wrapped
()
packages/react-live/src/components/Live/live-components.test.jsx:73
Method
componentDidCatch
(err: Error)
packages/react-live/src/components/Live/ErrorBoundary.tsx:22
Method
componentDidCatch
(error: Error)
packages/react-live/src/utils/transpile/errorBoundary.tsx:20
Function
configurePostCss
(postcssOptions)
website/docusaurus.config.js:58
Method
constructor
(props: Props)
packages/react-live/src/components/Live/ErrorBoundary.tsx:17
Method
getDerivedStateFromError
()
packages/react-live/src/components/Live/ErrorBoundary.tsx:13
Method
getDerivedStateFromError
()
packages/react-live/src/utils/transpile/errorBoundary.tsx:13
Function
onChange
(newCode: string)
packages/react-live/src/components/Live/LiveProvider.tsx:97
Function
onError
(error: Error)
packages/react-live/src/components/Live/LiveProvider.tsx:91
Function
render
(element: ComponentType)
packages/react-live/src/utils/transpile/index.ts:53
Method
render
()
packages/react-live/src/utils/transpile/errorBoundary.tsx:24
Function
swallow
(event)
packages/react-live/src/utils/test/errorBoundary.test.jsx:45
Function
swallowErrorEvent
(event)
packages/react-live/src/components/Live/ErrorBoundary.test.jsx:17
Function
swallowErrorEvent
(event: ErrorEvent)
packages/react-live/stories/stories.browser.test.tsx:20
Function
trimCode
(code: string)
packages/react-live/src/utils/transpile/index.ts:8
Function
wrapReturn
(code: string)
packages/react-live/src/utils/transpile/index.ts:9