File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
demos/input-directive-alpine Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 168168 // Every time the outer value (expression) changes, we need to persist that
169169 // value to the input scope. This will always be executed BEFORE the
170170 // "inputChanges()" hook is called below.
171- Alpine . effect (
171+ framework . effect (
172172 ( ) => {
173173
174174 inputEvaluator (
212212
213213 // We want to watch for all changes to the input scope so that we can
214214 // invoke the "changes" method as needed.
215- var effectReference = framework . effect (
215+ framework . effect (
216216 ( ) => {
217217
218218 // This effect runs for the first time when the first "x-input"
260260 framework . cleanup (
261261 ( ) => {
262262
263- // Remove reactivity.
264- Alpine . release ( effectReference ) ;
265263 // Remove DOM expando property.
266264 delete element [ domProperty ] ;
267265 // Free-up other memory references ???? Probably unnecessary.
You can’t perform that action at this time.
0 commit comments