
Security News
Package Maintainers Call for Improvements to GitHub’s New npm Security Plan
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
@esri/instant-apps-components-react
Advanced tools
A set of React components that wrap Instant Apps components
A set of React components that wrap Instant Apps Components.
npm install --save @esri/instant-apps-components-react
This package includes the compatible version of the main component library as a dependency, so no need to install @esri/instant-apps-components
separately.
Once installed, you need to import each component you use from the standard instant-apps-component
package's custom elements build. This will automatically define the custom elements on the window. Then import the same components from instant-apps-components-react
.
import "@esri/instant-apps-components/dist/components/instant-apps-header";
import "@esri/instant-apps-components/dist/components/instant-apps-social-share";
import { InstantAppsHeader, InstantAppsSocialShare } from "@esri/instant-apps-components-react";
Because React uses a synthetic event system, the custom events emitted from instant apps components won't work with JSX in React.
If you're using TypeScript, you'll also get increased type safety for your event listeners, props, etc.
We welcome contributions to this project. See the main instant-apps-components CONTRIBUTING.md for an overview of contribution guidelines.
COPYRIGHT © 2023 Esri
All rights reserved under the copyright laws of the United States and applicable international laws, treaties, and conventions.
This material is licensed for use under the Esri Master License Agreement (MLA), and is bound by the terms of that agreement. You may redistribute and use this code without modification, provided you adhere to the terms of the MLA and include this copyright notice.
See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english
For additional information, contact: Environmental Systems Research Institute, Inc. Attn: Contracts and Legal Services Department 380 New York Street Redlands, California, USA 92373 USA
email: contracts@esri.com
FAQs
A set of React components that wrap Instant Apps components
We found that @esri/instant-apps-components-react demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 42 open source maintainers collaborating on the project.
Did you know?
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.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.