Socket
Socket
Sign inDemoInstall

@citydna/agol

Package Overview
Dependencies
1
Maintainers
2
Versions
42
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @citydna/agol

useAgol hook for interacting with arcgis online


Version published
Maintainers
2
Created

Readme

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

Last updated on 11 May 2022

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc