Skip to content

Instantly share code, notes, and snippets.

View mykelswitzer's full-sized avatar
🎯
Focusing

Michael Switzer mykelswitzer

🎯
Focusing
View GitHub Profile
@mykelswitzer
mykelswitzer / component.jsx
Created September 11, 2015 00:41
React.js with pickadate.js
// How to get the pickadate to mount correcty in React.js component
// requires jQuery and pickadate.js (https://github.com/amsul/pickadate.js/)
var Component = React.createClass({
getInitialState: function() {
return ({value: null});
},
componentDidMount: function() {