Skip to content

Commit

Permalink
docs: Fix expect -> except typo
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoroth committed Mar 14, 2023
1 parent 9ade91b commit 903d078
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guide/lifecycle.md
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ In previous versions, ActionCable was assumed; in future versions of the library
* `stimulus-reflex:disconnected`
* `stimulus-reflex:rejected`

All events fire on `document`, expect `stimulus-reflex:ready` which is being dispatched on the StimulusReflex controller element itself.
All events fire on `document`, except `stimulus-reflex:ready` which is being dispatched on the StimulusReflex controller element itself.

`connected` fires when the ActionCable connection is established, which is a precondition of a successful call to `stimulate` - meaning that you can delay calls until the event arrives. It will also fire after a `disconnected` subscription is reconnected.

Expand Down

0 comments on commit 903d078

Please sign in to comment.