Skip to content

Instantly share code, notes, and snippets.

@leocristofani
leocristofani / RFReactSelect.js
Last active June 8, 2020 14:59
How to integrate React Select with Redux Form
import React, { PropTypes } from 'react';
import Select from 'react-select';
import 'react-select/dist/react-select.css';
RFReactSelect.defaultProps = {
multi: false,
className: ""
};
RFReactSelect.propTypes = {
@belackriv
belackriv / marionette.stickit.shim.js
Created July 2, 2016 19:10
Marionette Stickit Shim for v3
//credit to https://github.com/bazineta for the original
'use strict';
import * as _ from 'underscore';
import * as Marionette from 'marionette';
// Save original Backbone.Stickit calls.
var stickit = Marionette.View.prototype.stickit;
var addBinding = Marionette.View.prototype.addBinding;