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

Fix issue #87 - Subviews hash should append el #132

Merged
merged 1 commit into from
Oct 14, 2015

Conversation

bryanspears
Copy link
Contributor

Previous functionality should be preserved if you pass and set el as part of your prepareView() function.

@cdaringe
Copy link
Member

whether to replace or append the el has been a long standing issue. although Henrik is in the 'use less DOM' camp, I, as yourself, have also preferred the "new view ~ new sub-DOM approach", unless explicitly replacing. react does this so well with vdom!

anyway, +1 from me!

@wraithgar
Copy link
Contributor

+1 This is the way I would expect things to work if I didn't know what was under the hood. A very sensible update imo.

cdaringe added a commit that referenced this pull request Oct 14, 2015
Fix issue #87 - Subviews hash should append el
@cdaringe cdaringe merged commit 46321fe into AmpersandJS:master Oct 14, 2015
@cdaringe
Copy link
Member

thanks @bryanspears. sorry for the slow approval on that one

@cdaringe
Copy link
Member

changelog updated in README

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

3 participants