You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add support for shallow rendering via render({ shallow:true }) or renderShallow(), and export render() as a named method (in addition to being the default export).
/** Convert JSX to a string, rendering out all nested components along the way.
17
+
* @param {VNode} vnode A VNode, generally created via JSX
18
+
* @param {Object} [options] Options for the renderer
19
+
* @param {Boolean} [options.shallow=false] Passing `true` stops at Component VNodes without rendering them. Note: a component located at the root will always be rendered.
0 commit comments