add renderComponent snippet
Merge pull request #1 from theverything/master

add renderComponent snippet