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