Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FormidableLabs/react-live
/ render
Function
render
packages/react-live/src/utils/test/renderer.js:21–21 ·
view source on GitHub ↗
(element)
Source
from the content-addressed store, hash-verified
19
ReactDOMServer.renderToStaticMarkup(element);
20
21
export
const
render = (element) => renderToMarkup(element) || null;
22
23
export
const
shallow = (element) => ({
24
html: () => render(element),
Callers
12
ErrorBoundary.test.jsx
File · 0.90
live-components.test.jsx
File · 0.90
renderLive
Function · 0.90
LiveProvider.test.jsx
File · 0.90
setup
Function · 0.90
renderEditor
Function · 0.90
index.test.jsx
File · 0.90
bg
Function · 0.90
errorBoundary.test.jsx
File · 0.90
stories.browser.test.tsx
File · 0.90
shallow
Function · 0.70
story
Function · 0.50
Calls
1
renderToMarkup
Function · 0.85
Tested by
4
renderLive
Function · 0.72
setup
Function · 0.72
renderEditor
Function · 0.72
bg
Function · 0.72