Socket
Socket
Sign inDemoInstall

relay-devtools-core

Package Overview
Dependencies
Maintainers
3
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

relay-devtools-core

Relay Modern Devtools


Version published
Weekly downloads
2
Maintainers
3
Weekly downloads
 
Created
Source

Relay DevTools

Tooling to debug your Relay apps on web and React Native during development.

Installation

For Google Chrome, install the extension from WebStore. After installation "Relay" tab will be available in the Chrome developer tools apps using Relay are inspected.

For inspecting React Native apps using Relay, install a desktop Electron app:

npm install -g relay-devtools
relay-devtools

Usage

You can inspect the current state of Relay Store by viewing records from the store and expanding their connections.

Store Explorer

In addition to that, you can record all mutation events happenning to the store and inspect how they changed the store.

Mutaitons View

Development

Start the webpack devserver to run the app against mock data. Then navigate to localhost:3000.

yarn start

Extension

Build a Chrome Extension build. The extension output will be placed to the extension folder.

yarn build:extension

Electron

Build an Electron App build. Compile the app into a single importable file and then build the shell. This app is distributed as relay-devtools on npm. [npmjs link][1].

yarn build:lib
cd react-native-shell
yarn start

React Native runtime lib

Build a runtime that is required to debug apps running on React Native. This runtime lib is imported by Relay in runtime. This lib is published as relay-debugger-react-native-runtime. npmjs.com link.

cd react-native-runtime
yarn build

FAQs

Package last updated on 23 Aug 2017

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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc