Callbacks

suggest change
# all react callbacks are supported using active-record-like syntaxclass SomeCallBacks < Hyperloop::Componentbefore_mount do# initialize stuff - replaces normal class initialize methodendafter_mount do# any access to actual generated dom node, or window behaviors goes hereendbefore_unmount do# any cleanups (i.e. cancel intervals etc)end# you can also specify a method the usual way:before_mount :do_some_more_initializationend

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:


Integrating React.js with Rails using Hyperloop:
*Callbacks

Table Of Contents
55CSV
66Integrating React.js with Rails using Hyperloop