meteorhacks / meteor-ssr

Server Side Rendering for Meteor
https://atmospherejs.com/meteorhacks/ssr
264 stars 29 forks source link

Complex Single-page Blog Question #24

Open NewETown opened 9 years ago

NewETown commented 9 years ago

Hello,

I've recently started learning Meteor and stumbled across SSR. So far SSR has been incredibly helpful but I've come across a scenario that I'm not sure how to handle so I thought I'd post here. I'm using SSR and Iron-Router together.

Here's the basic flow (working):

The problem:

I understand that I need to control for this situation in some way, my question is does SSR or Meteor have anything built in to detect this type of event? Should I have a client-side route setup that intercepts the "/:category/:post_title" route and renders that page (if this is the case how would I do this without conflicting with the server-side route)? Any pointers would be greatly appreciated!