JSPM

Found 29 results for dangerouslySetInnerHTML

react-from-dom

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

  • v0.7.5
  • 98.41
  • Published

@bitjourney/react-from-html

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

  • v0.6.0
  • 59.16
  • Published

react-inner-html

A little helper for simpler dangerouslySetInnerHTML

  • v1.0.1
  • 53.50
  • 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.72
  • Published

script-inner-html

dangerouslySetInnerHTML that evaluates script tags

  • v2.0.4
  • 47.84
  • Published

react-video-tag

Render <video> in React using dangerouslySetInnerHTML.

  • v0.0.10
  • 42.16
  • Published

react-img-tag

Render <img> in React using dangerouslySetInnerHTML.

  • v0.0.2
  • 33.72
  • 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.26
  • Published

dangerous

Create dangerous React components

  • v0.1.21
  • 23.86
  • Published

dom-to-react

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

  • v1.0.0
  • 22.01
  • Published

react-fragmate

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

  • v1.2.0
  • 15.58
  • Published

@cyca/inner-html

Polymorphic Component alternative to react's dangerouslysetinnerhtml api

  • v0.0.6
  • 9.87
  • Published

streact

Convert text/HTML strings to React

  • v2.0.1
  • 9.35
  • Published

react-html-script-eval

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

  • v1.0.0
  • 8.98
  • Published

create-markup

Create a dangerouslySetInnerHTML object for React.

  • v1.0.0
  • 8.30
  • Published

react-html-parser-fork

Parse HTML into React components. Fork updates htmlparser2 dependency

  • v2.0.2
  • 5.89
  • Published