Last active
January 7, 2016 12:28
-
-
Save somebee/1780e1ddcc26af847cca to your computer and use it in GitHub Desktop.
Caching subviews with ref
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
tag container | |
def build | |
schedule | |
super | |
def render | |
<self> | |
<good> | |
<bad> | |
tag bad | |
def header | |
<div.header> 'not cached' | |
def render | |
<self> header | |
tag good | |
def header | |
<div@header> 'cached' | |
def render | |
<self> header | |
<container> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment