Skip to content

Instantly share code, notes, and snippets.

Harrison Shoff hshoff

Block or report user

Report or block hshoff

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@hshoff
hshoff / .block
Created Aug 26, 2017
React V16 + D3 + Force
View .block
license: mit
@hshoff
hshoff / .block
Last active Aug 26, 2017
React V16 + D3 + Force
View .block
license: mit
@hshoff
hshoff / .block
Last active Aug 26, 2017
React V16 + D3 + Force
View .block
license: mit
@hshoff
hshoff / .block
Last active Aug 26, 2017
React V16 + D3 + Force
View .block
license: mit
@hshoff
hshoff / .block
Last active Aug 26, 2017
React V16 + D3 + Force
View .block
license: mit
@hshoff
hshoff / .block
Last active Aug 26, 2017
React V16 + D3 + Force
View .block
license: mit
@hshoff
hshoff / .block
Last active Aug 26, 2017
React V16 + D3 + Force
View .block
license: mit
@hshoff
hshoff / Brush.js
Created Apr 18, 2017
@vx/brush sketch
View Brush.js
import React from 'react';
export default function Brush({ brush }) {
const { start, end, dragging } = brush;
return (
<g className="vx-brush">
{start && dragging &&
<circle
cx={start.x}
cy={start.y}
View space.js
import React from 'react';
import cx from 'classnames';
export default function Spacing(Component) {
return (props) => {
const { spaceTop, spaceBottom } = props;
const classes = cx({
[`space-top-${spaceTop}`]: !!spaceTop,
[`space-${spaceBottom}`]: !!spaceBottom,
});
@hshoff
hshoff / react-native-live-slack-notes.md
Created Jan 29, 2015
react-native-live-slack-notes
View react-native-live-slack-notes.md

3 pillars that make an app native:

  1. touch handling (edited)
  2. native components
  3. style & layout diving in to ReactKit in xcode you can pass in css props and the native element will translate setting the views happens in the main thread but that's the only thing happening in the main thread not transpiling js to obj-c running a real js engine
You can’t perform that action at this time.