How to use the hops-react.createContext function in hops-react

To help you get started, we’ve selected a few hops-react examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github xing / hops / packages / spec / fixtures / integration / main.js View on Github external
import React from 'react';
import { Switch, Route } from 'react-router-dom';
import { Miss, render, createContext } from 'hops-react';

import { headline } from './style.css';

const Home = () =&gt; <h1>Hello World!</h1>;

const App = () =&gt; (
  
);

export default render(, createContext());

hops-react

React and ReactRouter setup for Hops

MIT
Latest version published 3 years ago

Package Health Score

57 / 100
Full package analysis