@shopify/react-csrf-universal-provider
A self-serializing/deserializing CSRF token provider that works for isomorphic applications
Last updated 23 days ago by shopify-dep .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @shopify/react-csrf-universal-provider 
SYNC missed versions from official npm registry.

@shopify/react-csrf-universal-provider

Build Status License: MIT npm version npm bundle size (minified + gzip)

A self-serializing/deserializing CSRF token provider that works for isomorphic applications.

Installation

$ yarn add @shopify/react-csrf-universal-provider

Usage

// App.tsx

import {CsrfUniversalProvider} from '@shopify/react-csrf-universal-provider';

function App({token}: {token?: string}) {
  return (
    <CsrfUniversalProvider value={token}>
      {/* rest of the app */}
    </CsrfUniversalProvider>
  );
}

Current Tags

  • 1.1.18                                ...           latest (23 days ago)
  • 1.1.4-core-js-beta.2                                ...           next (4 months ago)

35 Versions

  • 1.1.18                                ...           23 days ago
  • 1.1.17                                ...           a month ago
  • 1.1.16                                ...           2 months ago
  • 1.1.15                                ...           2 months ago
  • 1.1.14                                ...           2 months ago
  • 1.1.13                                ...           3 months ago
  • 1.1.12                                ...           3 months ago
  • 1.1.11                                ...           3 months ago
  • 1.1.10                                ...           3 months ago
  • 1.1.9                                ...           3 months ago
  • 1.1.8                                ...           3 months ago
  • 1.1.7                                ...           3 months ago
  • 1.1.6                                ...           4 months ago
  • 1.1.5                                ...           4 months ago
  • 1.1.4-core-js-beta.2                                ...           4 months ago
  • 1.1.4-core-js-beta.1                                ...           4 months ago
  • 1.1.4                                ...           4 months ago
  • 1.1.3                                ...           5 months ago
  • 1.1.2                                ...           6 months ago
  • 1.1.1                                ...           6 months ago
  • 1.1.0                                ...           6 months ago
  • 1.0.14                                ...           8 months ago
  • 1.0.13                                ...           8 months ago
  • 1.0.12                                ...           8 months ago
  • 1.0.11                                ...           9 months ago
  • 1.0.10                                ...           9 months ago
  • 1.0.9                                ...           9 months ago
  • 1.0.8                                ...           9 months ago
  • 1.0.7                                ...           9 months ago
  • 1.0.6                                ...           9 months ago
  • 1.0.5                                ...           10 months ago
  • 1.0.4                                ...           10 months ago
  • 1.0.3                                ...           10 months ago
  • 1.0.2                                ...           a year ago
  • 1.0.1                                ...           a year ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 195
Dev Dependencies (2)
Dependents (1)

Copyright 2014 - 2016 © taobao.org |