Skip to content

Instantly share code, notes, and snippets.

View SivaCse's full-sized avatar

Sivanthi K SivaCse

  • Nagercoil
View GitHub Profile
@danilowoz
danilowoz / React.context.class.App.js
Last active January 14, 2020 13:49
Gist: React.Context<Class | Hooks>
import React from "react";
import Provider, { Consumer } from "./Context";
const App = () => (
<Provider>
<Consumer>
{({ count }) => {
return (
<div>
import React, { Component } from "react"
import VisibilitySensor from "react-visibility-sensor"
const optsVisibily = {
minTopValue: 400,
partialVisibility: true,
scrollDelay: 100
}
const WithScroll = WrapComponent =>
@silversonicaxel
silversonicaxel / git-commands
Last active October 27, 2022 11:50
GIT #git #gitflow
> the installed direction of my git
$ which git
> version of git
$ git --version
> Ignore list is a file in the base folder
.gitignore