Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow for React-based layouts #20

Merged
merged 1 commit into from
Dec 5, 2015

Conversation

timothyarmes
Copy link
Contributor

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.

User Account templates are rendered into the React layout using the
Blaze-To-React package.
@timothyarmes
Copy link
Contributor Author

No one interested in this PR?

@splendido
Copy link
Member

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
Copy link

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

splendido added a commit that referenced this pull request Dec 5, 2015
Allow for React-based layouts
@splendido splendido merged commit 4220538 into meteor-useraccounts:master Dec 5, 2015
@splendido
Copy link
Member

@adrianmc : a few hours?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants