Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@microsoft/fast-react-wrapper

Package Overview
Dependencies
Maintainers
6
Versions
105
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@microsoft/fast-react-wrapper

A utility for wrapping web components for use in React.

  • 0.3.24
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
20K
decreased by-56.64%
Maintainers
6
Weekly downloads
 
Created
Source

FAST React Wrapper

License: MIT npm version

The fast-react-wrapper package contains a utility that enables automatically wrapping Web Components in a React component for ease of integration into React projects.

Installation

From NPM

To install the fast-react-wrapper library, use either npm or yarn as follows:

npm install --save @microsoft/fast-react-wrapper
yarn add @microsoft/fast-react-wrapper

Within your JavaScript or TypeScript code, you can then and use the wrapper like this:

import React from 'react';
import { provideReactWrapper } from '@microsoft/fast-react-wrapper';

const { wrap } = provideReactWrapper(React);

const MyComponent = wrap(MyComponent);

For additional wrapper settings and more information on integrating with Design Systems, see our integration docs.

FAQs

Package last updated on 08 Apr 2024

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc