iron-meteor / iron-router

A client and server side router designed specifically for Meteor.
MIT License
1.98k stars 413 forks source link

Render only one region #1576

Closed 16292 closed 7 years ago

16292 commented 7 years ago

Hi,

I am quite new to Meteor / Iron Router.

I have an app with a layout with {{> yield}} and {{> yield "subcontent"}}. One address "/main/:_pageNumber" sends a data context and template to {{> yield}}. I would like to send another data context to {{> yield subcontent}} without re-rendering {{> yield}} via the address "/main/:_pageNumber/edit/:_id".

I manage to send both data context but both regions re-render. I would like to render only one and leave the other one.

Is there a way to do it ?

Thanks for the help !

chrisbutler commented 7 years ago

hey @16292 without seeing the actual code, it's tough to say why the re-rendering is happening