aurelia / documentation

The documentation for Aurelia.
MIT License
105 stars 111 forks source link

doc(routing): explain activation strategies #475

Open Alfhir opened 4 years ago

Alfhir commented 4 years ago

I would like to add the explanation Huochunpeng gave to me in this thread.

EisenbergEffect commented 4 years ago

Thank you for your contribution @Alfhir. Would it be possible for you to revert all the changes related purely to Markdown syntax? Those changes make this document different in style from most of the rest of the document and also obscure what the new content is. It looked like it was the addition of a single paragraph at the end only, but I wasn't sure when trying to review.

Alfhir commented 4 years ago

Sorry for the sloppy PR. It should really only change the paragraph at the end of the document (L1177+): Reusing an Existing View Model. Seems like my IDE again deleted some WS from line endings in three other places. Would you like me to change that back as well?

Alfhir commented 4 years ago

I am not that familiar with english grammar, should it be

invoke-lifecycle means: invoke the navigation

or

invoke-lifecycle means, ...

3cp commented 4 years ago

I guess invoke-lifecycle means to invoke the navigation lifecycle or invoke-lifecycle means invoking the navigation lifecycle. Normally, @EisenbergEffect will clean up new doc anyway. 😄