⚠ This page is served via a proxy. Original site: https://github.com
This service does not collect credentials or authentication data.
Skip to content

useBranch

bdbch edited this page Jul 20, 2019 · 1 revision
import { useBranch } from "@d2k/react-github";

function MyComponent() {
  const { branch, loading, error } = useBranch("facebook", "react", "master");

  // your component
}

Introduction

Hooks

User hooks

Branch hooks

Release hooks

Other hooks

Clone this wiki locally