-
Notifications
You must be signed in to change notification settings - Fork 516
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Why use memoize here @bobylito? Is this some optimization?
- Loading branch information
vvo
committed
Aug 1, 2015
1 parent
318547c
commit 32c64e6
Showing
1 changed file
with
2 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
We should avoid state here. Indeed because of the internal cache of Hogan, we can simply call for the compilation directly and we will have a pretty consistent low time for compilation + rendering of the template.
And therefore we can have a pure component, YEAHA!!