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

@citydna/agol

Package Overview
Dependencies
Maintainers
2
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@citydna/agol

useAgol hook for interacting with arcgis online

  • 2.5.1
  • latest
  • npm
  • Socket score

Version published
Maintainers
2
Created
Source

@citydna/agol

!!! DEPRECATED !!!

🗺 useAgol hook

DatoCMS is a headless CMS with a robust GraphQL API and a great user interface. It's the tool of choice when creating content-heavy citydna apps. There's a bit of setup required to get it working with apollo tooling though, so we've done that for you.

We've also included some scripts that make typescript development awesome and jest testing your graphql components an absolute breeze.

Installation

$ yarn add @citydna/agol

Hook usage

  1. add REACT_APP_AGOL_TOKEN=<YOUR_AGOL_TOKEN> into your .env file*
import React from "react"
import { useAgol } from "@citydna/agol"

export const Example = () => {
  const { data, loading, error } = useAgol({})
}

FAQs

Package last updated on 11 May 2022

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