veliovgroup / flow-router

🚦 Carefully extended flow-router for Meteor
https://packosphere.com/ostrio/flow-router-extra
BSD 3-Clause "New" or "Revised" License
202 stars 29 forks source link

render into specific "regions" #22

Closed jamgold closed 7 years ago

jamgold commented 7 years ago

I believe the original flow-router supported rendering content into specific regions. How is this.render of ostrio handling this? Does {{>yield}} take an argument?

dr-dimitru commented 7 years ago

Hello @jamgold ,

TL;TR;

{{>yield}} and built-in .render() is highly optimized for smooth rendering and saving user's UI from FPS drop, which is perfect for projects with a lot of animations.

{{>yield}} can be used only once per "layout" template.

Here similar question where I've comprehensively explained how to use regions in FR-Extra, and why it's slightly different.

jamgold commented 7 years ago

Thanks so much for the quick response

dr-dimitru commented 7 years ago

@jamgold sure, np. Hope it was helpful.

Please, support this project by: