Skip to content

Add content for Hooks book page.#2359

Open
Based-A wants to merge 3 commits intobevyengine:mainfrom
Based-A:hooks-page-init
Open

Add content for Hooks book page.#2359
Based-A wants to merge 3 commits intobevyengine:mainfrom
Based-A:hooks-page-init

Conversation

@Based-A
Copy link
Contributor

@Based-A Based-A commented Feb 12, 2026

Book page content for Lifecycle Events and ComponentHooks.

I believe I got everything that this page should cover, but let me know if there's something I missed. I also wasn't too sure if I should've expanded on the written explanations as the code examples I wrote should (?) detail things pretty plainly.

Copy link
Member

@alice-i-cecile alice-i-cecile left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good stuff, but I think we can improve the framing of this :) I think that changing the chapter title to "Lifecycle Events" or something of that sort would be much more useful for beginners (hooks is jargon).

Then, reframe to:

  • we have these lifecycle, events, which can be responded to with both hooks and observers. Here's how they work.
  • Using hook
  • Using lifecycle observers
  • Contrasting hooks and observers
  • Contrasting with RemovedComponents and Added filter

@Based-A
Copy link
Contributor Author

Based-A commented Feb 12, 2026

Sounds good, thanks for the feedback and direction! I'll get to work on getting those changes made in a bit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants