Linux ubuntu22 5.15.0-133-generic #144-Ubuntu SMP Fri Feb 7 20:47:38 UTC 2025 x86_64
nginx/1.18.0
: 128.199.27.159 | : 216.73.216.1
Cant Read [ /etc/named.conf ]
8.1.31
www-data
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 /
quiz1 /
node_modules /
react-dom /
[ HOME SHELL ]
Name
Size
Permission
Action
cjs
[ DIR ]
dr-xr-xr-x
umd
[ DIR ]
dr-xr-xr-x
LICENSE
1.06
KB
-rw-rw-rw-
README.md
1.08
KB
-rw-rw-rw-
client.js
619
B
-rw-rw-rw-
index.js
1.33
KB
-rw-rw-rw-
package.json
1.32
KB
-rw-rw-rw-
profiling.js
1.33
KB
-rw-rw-rw-
server.browser.js
658
B
-rw-rw-rw-
server.js
58
B
-rw-rw-rw-
server.node.js
646
B
-rw-rw-rw-
test-utils.js
220
B
-rw-rw-rw-
Delete
Unzip
Zip
${this.title}
Close
Code Editor : README.md
# `react-dom` This package serves as the entry point to the DOM and server renderers for React. It is intended to be paired with the generic React package, which is shipped as `react` to npm. ## Installation ```sh npm install react react-dom ``` ## Usage ### In the browser ```js import { createRoot } from 'react-dom/client'; function App() { return <div>Hello World</div>; } const root = createRoot(document.getElementById('root')); root.render(<App />); ``` ### On the server ```js import { renderToPipeableStream } from 'react-dom/server'; function App() { return <div>Hello World</div>; } function handleRequest(res) { // ... in your server handler ... const stream = renderToPipeableStream(<App />, { onShellReady() { res.statusCode = 200; res.setHeader('Content-type', 'text/html'); stream.pipe(res); }, // ... }); } ``` ## API ### `react-dom` See https://reactjs.org/docs/react-dom.html ### `react-dom/client` See https://reactjs.org/docs/react-dom-client.html ### `react-dom/server` See https://reactjs.org/docs/react-dom-server.html
Close