This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from "react"; | |
import Provider, { Consumer } from "./Context"; | |
const App = () => ( | |
<Provider> | |
<Consumer> | |
{({ count }) => { | |
return ( | |
<div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Component } from "react" | |
import VisibilitySensor from "react-visibility-sensor" | |
const optsVisibily = { | |
minTopValue: 400, | |
partialVisibility: true, | |
scrollDelay: 100 | |
} | |
const WithScroll = WrapComponent => |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> the installed direction of my git | |
$ which git | |
> version of git | |
$ git --version | |
> Ignore list is a file in the base folder | |
.gitignore |