meteor-useraccounts / flow-routing

Useraccounts packages add-on for integration with Flow Router and Blaze Layout.
https://atmospherejs.com/useraccounts/flow-routing
MIT License
72 stars 50 forks source link

Allow for React-based layouts #20

Closed timothyarmes closed 8 years ago

timothyarmes commented 8 years ago

This adds a layoutType option, which can be either blaze(the default) or blaze-to-react.

When blaze-to-react is specified the routes are rendered using ReactLayout instead of BlazeLayout. The user may specify the layout and content regions in an almost identical way to the standard Blaze configuration.

The User Account templates themselves are rendered into the React layout using the Blaze-To-React package.

Dependencies upon React, BlazeLayout, ReactLayout and BlazeToReact are all weak so that they aren’t pulled in to the user’s code base unnecessarily.

timothyarmes commented 8 years ago

No one interested in this PR?

splendido commented 8 years ago

sure! It's busy time, that's all :-(

I was actually discussing about this PR with @jshimko a few hours ago, we'll try to get it merged asap.

nice work, btw :-)

adrianmcli commented 8 years ago

This is great! @splendido when can we expect the next release so I can grab this package officially via meteor add?

splendido commented 8 years ago

@adrianmc : a few hours?