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

Documentation! #2

Closed
5 of 7 tasks
rwjblue opened this issue Jan 29, 2019 · 11 comments
Closed
5 of 7 tasks

Documentation! #2

rwjblue opened this issue Jan 29, 2019 · 11 comments

Comments

@rwjblue
Copy link
Member

rwjblue commented Jan 29, 2019

@knownasilya
Copy link
Contributor

Worth adding e-c-addon-docs?

@rwjblue
Copy link
Member Author

rwjblue commented Jan 29, 2019

@knownasilya - I haven't dug into it much yet, but yeah that sounds like it might make the whole process a bit nicer.

@locks
Copy link

locks commented Jan 30, 2019

@emberjs/learning-team-managers

@GavinJoyce
Copy link
Member

GavinJoyce commented Feb 27, 2019

✋ I'll take on writing the API docs

@GavinJoyce
Copy link
Member

GavinJoyce commented Mar 5, 2019

@rwjblue do the API checkboxes above refer to creating docs in the modifier source files or somewhere else?

@rwjblue
Copy link
Member Author

rwjblue commented Mar 5, 2019

@GavinJoyce - Ya, I was thinking that inline docs (plus something like documentation package to generate an API.md) would work well.

@GavinJoyce
Copy link
Member

👍 thanks

@tomdale
Copy link
Member

tomdale commented Mar 12, 2019

@GavinJoyce Where are we at on this?

@GavinJoyce
Copy link
Member

@tomdale Here's a PR which adds some API docs for {{did-insert}}, {{did-update}} and {{will-destroy}}

@lupestro
Copy link

And the docs should mention the thing I stumbled over recently - when you use FastBoot, you will get calls to the actions of {{did-insert}} and {{will-destroy}} with element === null. Since I'm usually adding focus listeners to focusable elements within a contextual block or some such thing, in my code, I was able to just if around all that safely - it won't matter in the fastboot snapshot - but it helps to anticipate it.

@rwjblue
Copy link
Member Author

rwjblue commented Apr 19, 2019

@lupestro - This is a bug, and should be fixed in Ember (and the polyfill). Likely the same as emberjs/ember.js#17949.

@rwjblue rwjblue closed this as completed May 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants