JSPM

Found 29 results for dangerouslySetInnerHTML

react-from-dom

Convert HTML/XML source code or DOM nodes to React elements

  • v0.7.5
  • 98.68
  • Published

@bitjourney/react-from-html

Builds React elements from HTML snippets, or a safe dangerouslySetInnerHTML alternative

  • v0.6.0
  • 61.51
  • Published

react-inner-html

A little helper for simpler dangerouslySetInnerHTML

  • v1.0.1
  • 54.19
  • Published

react-html-string

A React declarative component for converting HTML strings into React components. Avoids the use of dangerouslySetInnerHTML and converts standard HTML elements, attributes and inline styles into their React equivalents or `Custom Components`.

  • v0.1.1
  • 51.62
  • Published

script-inner-html

dangerouslySetInnerHTML that evaluates script tags

  • v2.0.4
  • 46.88
  • Published

react-video-tag

Render <video> in React using dangerouslySetInnerHTML.

  • v0.0.10
  • 42.23
  • Published

react-img-tag

Render <img> in React using dangerouslySetInnerHTML.

  • v0.0.2
  • 33.97
  • Published

preact-parser

When dealing with HTML strings in Preact, our only real option is to use `dangerouslySetInnerHTML`. This is fine(-ish) if you 100% trust the contents of that HTML, but regardless, it opens up potential vectors for attack, problems and bugs. Ideally, we'd

  • v1.3.7
  • 33.30
  • Published

dangerous

Create dangerous React components

  • v0.1.21
  • 27.99
  • Published

dom-to-react

A versatile replacement for 'dangerouslySetInnerHTML'. Let's you build react-components deep within a regular HTML-Dom

  • v1.0.0
  • 26.17
  • Published

react-fragmate

A utility for handling HTML parsing in React, removing unwanted wrappers added by dangerouslySetInnerHTML

  • v1.2.0
  • 15.84
  • Published

react-html-script-eval

React hook to execute or load scripts inside element with html provided by dangerouslySetInnerHTML

  • v1.0.0
  • 12.26
  • Published

streact

Convert text/HTML strings to React

  • v2.0.1
  • 10.35
  • Published

react-html-parser-fork

Parse HTML into React components. Fork updates htmlparser2 dependency

  • v2.0.2
  • 10.05
  • Published

@cyca/inner-html

Polymorphic Component alternative to react's dangerouslysetinnerhtml api

  • v0.0.6
  • 9.87
  • Published

create-markup

Create a dangerouslySetInnerHTML object for React.

  • v1.0.0
  • 8.32
  • Published