Comparing version 0.0.12 to 0.0.13
@@ -43,5 +43,5 @@ export declare type ForgoRef<T> = { | ||
export declare function mount(forgoNode: ForgoNode, parentElement: HTMLElement | null): void; | ||
export declare function render(forgoNode: ForgoNode, fullRender?: boolean): { | ||
export declare function render(forgoNode: ForgoNode): { | ||
node: ChildNode; | ||
}; | ||
export declare function rerender(element: ForgoElementArg | undefined, props?: undefined, fullRerender?: boolean): void; |
@@ -412,4 +412,4 @@ "use strict"; | ||
*/ | ||
function render(forgoNode, fullRender = true) { | ||
return internalRender(forgoNode, undefined, [], fullRender); | ||
function render(forgoNode) { | ||
return internalRender(forgoNode, undefined, [], true); | ||
} | ||
@@ -416,0 +416,0 @@ exports.render = render; |
{ | ||
"name": "forgo", | ||
"version": "0.0.12", | ||
"version": "0.0.13", | ||
"main": "./dist", | ||
@@ -5,0 +5,0 @@ "devDependencies": { |
@@ -170,3 +170,3 @@ # forgo | ||
```tsx | ||
const { node } = render(<Component />, false); | ||
const { node } = render(<Component />); | ||
@@ -173,0 +173,0 @@ window.addEventListener("load", () => { |
@@ -671,4 +671,4 @@ /* | ||
*/ | ||
export function render(forgoNode: ForgoNode, fullRender: boolean = true) { | ||
return internalRender(forgoNode, undefined, [], fullRender); | ||
export function render(forgoNode: ForgoNode) { | ||
return internalRender(forgoNode, undefined, [], true); | ||
} | ||
@@ -675,0 +675,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
71924