diff --git a/components/templates/Hogan/index.js b/components/templates/Hogan/index.js index d2747fe9a1..be2dae75d2 100644 --- a/components/templates/Hogan/index.js +++ b/components/templates/Hogan/index.js @@ -3,9 +3,6 @@ var React = require('react'); var hogan = require('hogan.js'); -var memoize = require('lodash/function/memoize'); - -var memoHogan = memoize(hogan.compile.bind(hogan)); var HoganResult = React.createClass({ propTypes: { @@ -14,12 +11,12 @@ var HoganResult = React.createClass({ }, componentWillMount: function() { this.setState({ - template: memoHogan(this.props.template) + template: hogan.compile(this.props.template) }); }, render: function() { var content = this.state.template.render(this.props.data); - return
; + return
; } });