Skip to content

Keep-alive needs a demo to be more clear #1493

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

Closed
sdras opened this issue Mar 17, 2018 · 4 comments
Closed

Keep-alive needs a demo to be more clear #1493

sdras opened this issue Mar 17, 2018 · 4 comments

Comments

@sdras
Copy link
Member

sdras commented Mar 17, 2018

keep-alive is extremely powerful and right now the docs leave this pattern up to the imagination a little too much- I'd like to build out a demo that makes it clear at a glance how useful this can be.

@chrisvfritz
Copy link
Contributor

It might be useful to build combine the tabbed interface and blog posts demos to create a realistic problem for this, like in this fiddle. Then when we could point out how when switching tabs, the selected post resets because the component is created again from scratch. Or, maybe something with an <input>/<textarea> on a new Contact tab.

What do you think?

@sdras
Copy link
Member Author

sdras commented Mar 17, 2018

Yes! Great idea.

@chrisvfritz
Copy link
Contributor

Cool! I liked the idea so much I just implemented it. 😄

@sdras
Copy link
Member Author

sdras commented Mar 17, 2018

High fives

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

No branches or pull requests

2 participants