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

feat: Allow route render methods to return a function #268

Merged
merged 2 commits into from
Mar 5, 2019

Conversation

taion
Copy link
Contributor

@taion taion commented Mar 5, 2019

Closes #125

@taion
Copy link
Contributor Author

taion commented Mar 5, 2019

not sure if we should deprecate the old thing

src/ElementsRenderer.js Outdated Show resolved Hide resolved
src/ElementsRenderer.js Outdated Show resolved Hide resolved
src/ElementsRenderer.js Outdated Show resolved Hide resolved
Co-Authored-By: taion <tesrin@gmail.com>
@taion
Copy link
Contributor Author

taion commented Mar 5, 2019

not going to deprecate the old API for now (among other things, the asymmetry between group and single child behavior that i think makes the API slightly nicer when writing these by hand also makes thing a bit more annoying to deal with things in an automated manner

@taion taion merged commit 144c0d2 into master Mar 5, 2019
@taion taion deleted the render-return-function branch March 5, 2019 15:36
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.

None yet

2 participants