🚀 Launch Week Day 3:Introducing Supply Chain Attack Campaigns Tracking.Learn More
Socket
Book a DemoInstallSign in
Socket

@nhost/react-urql

Package Overview
Dependencies
Maintainers
2
Versions
82
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nhost/react-urql

Nhost React URQL client

latest
Source
npmnpm
Version
15.0.2
Version published
Weekly downloads
9
12.5%
Maintainers
2
Weekly downloads
 
Created
Source

@nhost/react-urql

Nhost - React - URQL

npm npm license: MIT

This package contains a <NhostUrqlProvider /> with good defaults settings to quickly get started with Nhost, React, and URQL.

Get Started

Install

npm install @nhost/react @nhost/react-urql urql graphql

Usage

import React from 'react'
import ReactDOM from 'react-dom'
import { NhostClient, NhostProvider } from '@nhost/react'
import { NhostUrqlProvider } from '@nhost/react-urql'

import App from './App'

const nhost = new NhostClient({
  subdomain: '<Your Nhost project subdomain>',
  region: '<Your Nhost project region>'
})

ReactDOM.render(
  <React.StrictMode>
    <NhostProvider nhost={nhost}>
      <NhostUrqlProvider nhost={nhost}>
        <App />
      </NhostUrqlProvider>
    </NhostProvider>
  </React.StrictMode>,
  document.getElementById('root')
)

Customization

This package contains a URQL provider and client for Nhost with good default settings. If you want to customize them, it's recommended to use this code as inspiration and set up your own URQL provider and client in your own code base.

Keywords

nhost

FAQs

Package last updated on 29 Aug 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