Skip to content

Instantly share code, notes, and snippets.

9e859310-9c33-11e9-99ea-4cc81a3fcbe9…2019-07-01 12:08:32
Request URL: https://circleci.com/hooks/github
Request method: POST
content-type: application/x-www-form-urlencoded
Expect:
User-Agent: GitHub-Hookshot/f221634
X-GitHub-Delivery: 9e859310-9c33-11e9-99ea-4cc81a3fcbe9
X-GitHub-Event: pull_request
X-Hub-Signature: sha1=b7f156eebaa5d2b96b9d9989e8ac744d32802840
/*
Personally the way I understood them was that behaviors are similar-ish to mixins to a module.
They are however not mixins. They are used to extract out common things needed in multiple modules.
As an example that we use within Box's webapp:
Say you have 2 modules - Foo and Bar. Both of these modules need a simple drop down menu showing some items.
The items shown are different for Foo and Bar, likewise when you click on an item, the action they perform
are also different for Foo and Bar.
@priyajeet
priyajeet / gist:c2731789d3a688ee85a9
Last active August 29, 2015 14:19
T3/React usage rough hack
// todo-list module
Application.addModule('todo-list', function(context) {
var xhr;
var TodoList = React.createClass({
render: function() {
return (
<div>
<TodoItems />