🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

@cloudflare/component-dynamic-content

Package Overview
Dependencies
Maintainers
37
Versions
509
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cloudflare/component-dynamic-content

Cloudflare Dynamic Content Component

4.0.1
latest
npm
Version published
Weekly downloads
4.6K
-14.28%
Maintainers
37
Weekly downloads
 
Created
Source

@cloudflare/component-dynamic-content

Cloudflare Dynamic Content Component

Installation

Installation with yarn is recommended


$ yarn add @cloudflare/component-dynamic-content

Usage

import React from 'react';
import { DynamicContent } from '../../src';

class DynamicContentComponent extends React.Component {
  render() {
    return (
      <DynamicContent
        dangerouslySetInnerHTML={{
          __html: '<p>Not an XSS attack, I swear.</p>'
        }}
      />
    );
  }
}

export default DynamicContentComponent;

FAQs

Package last updated on 09 May 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts