{"name":"react-dom","version":"0.0.0-experimental-9c54b29b4-20230322","keywords":["react"],"license":"MIT","_id":"react-dom@0.0.0-experimental-9c54b29b4-20230322","maintainers":[{"name":"gaearon","email":"dan.abramov@gmail.com"},{"name":"zpao","email":"paul@oshannessy.com"},{"name":"gnoff","email":"jcs.gnoff@gmail.com"},{"name":"fb","email":"opensource+npm@fb.com"},{"name":"sophiebits","email":"npm@sophiebits.com"},{"name":"react-bot","email":"react-core@meta.com"}],"homepage":"https://reactjs.org/","bugs":{"url":"https://github.com/facebook/react/issues"},"dist":{"shasum":"902fab80437d66ab379f1bca96083b13dd5adf3a","tarball":"http://registry-npm.ywwl.com/react-dom/download/react-dom-0.0.0-experimental-9c54b29b4-20230322.tgz","fileCount":57,"integrity":"sha512-yQLobE4IQypeLSfUzBxyalcsAVuYpaK1CyOcOA81gPidY0/+Nb/wIEKi9ZDDe3ep5qsXdoI3BG4s1dHILMpMww==","signatures":[{"sig":"MEQCIDGU9lU15AjOfepwzNNNhFt7/NmWZw7gLhycUnKniZwTAiButNiUVwTatSSHYoQXsLqDte0WRvMGIg/ou7cw5ANpnA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9353572,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkHHrcACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpqGg/8CdZNpmkcBfyid9y2ppXQi+vBkd1OwLxIkbNlx8lJJmrx4r8D\r\nVMA8LCWh9LK7EaEZMly1yNYnEKu5W3BbL+AOJu5qmFsBeONJ48/x/TuPI4WI\r\nN3nHK/0Z2lTvpW3DhJtuxh3Y0vPQwxUlXGn404V0NQZstDZXMqFSSjw/n1N8\r\nnzhPAvGe1gN8QLeK9fA5pb+jr9U+Im9o0Um635yAVkSOGllnZe5rYj0NQXlu\r\nKEA4lcRCD4lP3A+kk+bBQPqLcTx3nJYrll5Y7mRDVkNvenIigJNytsOchGU2\r\nom4ES3I7aIFNzqXQqDhmNELP/PDmGjk6/UfSliS7TDOrYx1ZfJ1VG5sK35sT\r\nyt1TfiffC7R+YlFrM859jzUdh+VN2puHjc/NnVcBgHb8IYs2aej7eKtBFU11\r\nbDAXRkQzYncBQYNDwznzA3wOgqd4jIOJ02dpIIjmFQS4czmH4lkd6YlHjTT0\r\nAGBjUVcS7YR/rB9bR3y/QNi2BkBQ8FsXk+5NjRa98gJrF4zVDo80WHAoiDoU\r\nU45hiQO/dar4ymIFKPdTGWwUFPUx+5f+cjNUoQcuv4oo9lPL2k2WrvNEBOWl\r\nmsFuhWnId8HcnA/i8jJhj3dQiwPIYqGDjt6eoGHhbqrZ9/rjeHYUpfF+xG6Z\r\n876uxNqyARdkHLVJ1Q+FlWK19Tl8jb1gk7M=\r\n=e5/G\r\n-----END PGP SIGNATURE-----\r\n","size":2187661,"noattachment":false,"key":"/react-dom/-/react-dom-0.0.0-experimental-9c54b29b4-20230322.tgz"},"main":"index.js","readme":"# `react-dom`\n\nThis 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.\n\n## Installation\n\n```sh\nnpm install react react-dom\n```\n\n## Usage\n\n### In the browser\n\n```js\nimport { createRoot } from 'react-dom/client';\n\nfunction App() {\n  return <div>Hello World</div>;\n}\n\nconst root = createRoot(document.getElementById('root'));\nroot.render(<App />);\n```\n\n### On the server\n\n```js\nimport { renderToPipeableStream } from 'react-dom/server';\n\nfunction App() {\n  return <div>Hello World</div>;\n}\n\nfunction handleRequest(res) {\n  // ... in your server handler ...\n  const stream = renderToPipeableStream(<App />, {\n    onShellReady() {\n      res.statusCode = 200;\n      res.setHeader('Content-type', 'text/html');\n      stream.pipe(res);\n    },\n    // ...\n  });\n}\n```\n\n## API\n\n### `react-dom`\n\nSee https://react.dev/reference/react-dom\n\n### `react-dom/client`\n\nSee https://react.dev/reference/react-dom/client\n\n### `react-dom/server`\n\nSee https://react.dev/reference/react-dom/server\n","browser":{"./server.js":"./server.browser.js","./static.js":"./static.browser.js"},"exports":{".":"./index.js","./client":"./client.js","./server":{"bun":"./server.bun.js","deno":"./server.browser.js","worker":"./server.browser.js","browser":"./server.browser.js","default":"./server.node.js","workerd":"./server.edge.js","edge-light":"./server.edge.js"},"./static":{"deno":"./static.browser.js","worker":"./static.browser.js","browser":"./static.browser.js","default":"./static.node.js","workerd":"./static.edge.js","edge-light":"./static.edge.js"},"./profiling":"./profiling.js","./server.bun":"./server.bun.js","./test-utils":"./test-utils.js","./server.edge":"./server.edge.js","./server.node":"./server.node.js","./static.edge":"./static.edge.js","./static.node":"./static.node.js","./package.json":"./package.json","./server.browser":"./server.browser.js","./static.browser":"./static.browser.js","./unstable_testing":"./unstable_testing.js","./server-rendering-stub":"./server-rendering-stub.js","./unstable_server-external-runtime":"./unstable_server-external-runtime.js"},"gitHead":"9c54b29b44d24f8f8090da9c7ebf569747a444df","scripts":{"start":"node server.js"},"_npmUser":{"name":"react-bot","email":"react-core@meta.com"},"browserify":{"transform":["loose-envify"]},"repository":{"url":"git+https://github.com/facebook/react.git","type":"git","directory":"packages/react-dom"},"_npmVersion":"8.11.0","description":"React package for working with the DOM.","directories":{},"_nodeVersion":"16.16.0","dependencies":{"scheduler":"0.0.0-experimental-9c54b29b4-20230322","loose-envify":"^1.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","peerDependencies":{"react":"0.0.0-experimental-9c54b29b4-20230322"},"_npmOperationalInternal":{"tmp":"tmp/react-dom_0.0.0-experimental-9c54b29b4-20230322_1679588059814_0.12020961083988979","host":"s3://npm-registry-packages"},"publish_time":1679588060023,"_cnpm_publish_time":1679588060023,"dist-tags":{"backport":"19.1.10","beta":"19.0.0-beta-26f2496093-20240514","canary":"19.3.0-canary-e04279e7-20261119","experimental":"0.0.0-experimental-e04279e7-20261119","latest":"19.3.1","next":"19.3.0-canary-d5736f09-20260507","rc":"19.0.0-rc.1"}}