React DOM integration

preinit

Fetch and initiate an approved script or stylesheet; not simply a passive hint.

Formal Syntax & Structure

react syntaxreact
preinit("/assets/gallery.css", {as: "style"})

Working Example

Example Snippetreact
preinit("/assets/gallery.css", {as: "style"})
React Reference