An open API service indexing awesome lists of open source software.

https://github.com/suhaotian/fuckxss

A react component wrap with DOMPurity
https://github.com/suhaotian/fuckxss

Last synced: 3 months ago
JSON representation

A react component wrap with DOMPurity

Awesome Lists containing this project

README

        

# FuckXSS
A react component **fuck XSS** wrap with DOMPurity

## Usage

```shell
npm i dompurity --save
```

```js
import React from 'react'
import ReactDOM from 'react-dom'

import FuckXSS from './index'

class Demo extends React.Component {

render(){
return (
hello moto!'}
/>
)
}
}

ReactDOM.render(document.getElementById('demo'), )
```