Skip to content

Instantly share code, notes, and snippets.

View taggon's full-sized avatar
🏠
Working from home

Taegon Kim taggon

🏠
Working from home
View GitHub Profile
@taggon
taggon / container.js
Last active November 21, 2017 06:42 — forked from choipd/container.js
shouldComponentUpdate(nextProps, nextState){
console.log("component should update")
if(nextProps.status === POST_STATUS.POST_STATUS_SAVED) {
this._closePost()
}
return true
}
const mapStateToProps = (state, props) => {
<?php
/**
* Widget API: WP_Media_Widget class
*
* @package WordPress
* @subpackage Widgets
* @since 4.8.0
*/
/**