HTTP/2 302
server: nginx
date: Mon, 13 Oct 2025 01:25:57 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20180611012159
location: https://web.archive.org/web/20180611012159/https://github.com/uber/r-dom
server-timing: captures_list;dur=1.223296, exclusion.robots;dur=0.042390, exclusion.robots.policy;dur=0.019871, esindex;dur=0.018865, cdx.remote;dur=125.710156, LoadShardBlock;dur=355.659682, PetaboxLoader3.datanode;dur=108.422678
x-app-server: wwwb-app213
x-ts: 302
x-tr: 542
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: wb-p-SERVER=wwwb-app213; path=/
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Mon, 13 Oct 2025 01:25:58 GMT
content-type: text/html; charset=utf-8
x-archive-orig-server: GitHub.com
x-archive-orig-date: Mon, 11 Jun 2018 01:22:00 GMT
x-archive-orig-transfer-encoding: chunked
x-archive-orig-status: 200 OK
x-archive-orig-cache-control: no-cache
x-archive-orig-vary: X-PJAX
x-archive-orig-set-cookie: logged_in=no; domain=.github.com; path=/; expires=Fri, 11 Jun 2038 01:22:00 -0000; secure; HttpOnly
x-archive-orig-set-cookie: _gh_sess=TWphZFZia3dRQWE1M08wZ0VzRHd0alF6bERmQit1Z056TkZrVGtrQnZPcnhYeVRJb050dnlGN2loWjhlWmdreUluRE1Lb01OWkJpUVNHTjViNFJPbm1UREF4TTVSOC9NeEsrSU5INi9tNFBWQTJqVEx2UDRUcjNaODB5bnNSeGQ5TDcyM2p3K0VFcmgvbjFhSkxlRnNBdjRrUGtCZGxDcHVIQnlzRFlkaGt6TjdLTVJjMTdwaEpaNUpmZjFnNGpITm1PcU5YaEtiNDBsdkRScHRJR0g0S1FLZEtLL2ZzVEN5SXJzZ2Z3SkRab0JEZjE5SHB6Q050by9VRVJHQzVGc3NZZ2FLT3VDZlRHYktwYnJPMHUzNzlvRW5vNUM0M1NyWnZYeFZSR2VwbXh4WXV2dGZObXBUZ3lvaU9LN1oxUTEvWmUzZkE4UE15YkNjTjBzc3FodGNpTTYxSllNZTJhWWZJNEVDZTljbGwwQTNsYU9MTEJEUmt4dEYwTkVqMzJrTGF5bmtEbVczVXBYa2VIYnA0NVRuUT09LS1XSHAyVGRmUW4ySnplZ1ZzU3BJZURRPT0%3D--cfe63939198ba349628054ccbf864b0db11b4479; path=/; secure; HttpOnly
x-archive-orig-x-request-id: 18f6c060-781c-417d-a36e-c64796762e26
x-archive-orig-x-runtime: 0.303271
x-archive-orig-strict-transport-security: max-age=31536000; includeSubdomains; preload
x-archive-orig-x-frame-options: deny
x-archive-orig-x-content-type-options: nosniff
x-archive-orig-x-xss-protection: 1; mode=block
x-archive-orig-expect-ct: max-age=2592000, report-uri="https://api.github.com/_private/browser/errors"
x-archive-orig-content-security-policy: default-src 'none'; base-uri 'self'; block-all-mixed-content; connect-src 'self' uploads.github.com status.github.com collector.githubapp.com api.github.com www.google-analytics.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com wss://live.github.com; font-src assets-cdn.github.com; form-action 'self' github.com gist.github.com; frame-ancestors 'none'; frame-src render.githubusercontent.com; img-src 'self' data: assets-cdn.github.com identicons.github.com collector.githubapp.com github-cloud.s3.amazonaws.com *.githubusercontent.com; manifest-src 'self'; media-src 'none'; script-src assets-cdn.github.com; style-src 'unsafe-inline' assets-cdn.github.com
x-archive-orig-x-runtime-rack: 0.312363
x-archive-orig-x-github-request-id: BEF8:57BE:4572548:8166D37:5B1DCEB7
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: windows-1250
memento-datetime: Mon, 11 Jun 2018 01:21:59 GMT
link:
; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Mon, 11 Jun 2018 01:21:59 GMT", ; rel="memento"; datetime="Mon, 11 Jun 2018 01:21:59 GMT", ; rel="next memento"; datetime="Mon, 11 Jun 2018 15:55:40 GMT", ; rel="last memento"; datetime="Thu, 29 Aug 2024 06:16:22 GMT"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: archiveteam_github_20180703213808/archiveteam_github_20180703213808.megawarc.warc.gz
server-timing: captures_list;dur=5.548585, exclusion.robots;dur=0.023995, exclusion.robots.policy;dur=0.012562, esindex;dur=0.011247, cdx.remote;dur=69.490410, LoadShardBlock;dur=287.536010, PetaboxLoader3.datanode;dur=287.525594, load_resource;dur=345.834807, PetaboxLoader3.resolve;dur=122.045472
x-app-server: wwwb-app213
x-ts: 200
x-tr: 795
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
content-encoding: gzip
GitHub - uber/r-dom: React DOM wrapper
Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Sign up
JavaScript
New pull request
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
README.md
r-dom
React DOM wrapper.
Usage
var React = require (' react' );
var r = require (' r-dom' );
var AnotherComponent = require (' ./another-component' );
module .exports = React .createClass ({
render : function render () {
return (
r .div ({className: ' example' }, [
r .h1 (' Hello World!' ),
r .h2 (' This is React.js markup' ),
r (AnotherComponent, {foo: ' bar' }),
r .div ({
classSet: { // Automatically use `classnames` module for classSet
foo: this .props .foo ,
bar: this .props .bar
},
isRendered: this .props .foo // div won't render if isRendered is falsy
})
])
);
}
});
Documentation
r[tag]([properties], [children])
Returns a React element
tag String
- A React.DOM tag string
properties Object
optional - An object containing the properties you'd like to set on the element.
children Array|String
optional - An array of r
children or a string. This will create child elements or a text node, respectively.
r(component, [properties], [children])
Returns a React element
component Function
- A React.js Component class created with React.createClass
properties Object
optional - An object containing the properties you'd like to set on the element.
children Array|String
optional - An array of r
children or a string. This will create child elements or a text node, respectively.
Special Properties
isRendered "Boolean"
optional - If falsy, React will skip rendering the target component.
classSet Object
optional - Apply classnames and assign to className.
You can’t perform that action at this time.
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.
Press h to open a hovercard with more details.