-
-
Notifications
You must be signed in to change notification settings - Fork 169
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor SR client package and introduce the Reflex class (#592)
* created Stimulus.app * elementToXPath supports html element * reflexes Proxy * dispatchLifecycleEvent converted to bind reflex * top level bind doesn't work with rollup * no need for finalStage concept anymore * added queued and delivered stages to templates * simplify lifecycle method signatures * removed action cable specific events * simplified callbacks module * renaming reflex body param to error * reworked client logging to operate on reflex params * extract duration and progress from log functions * pluggable transport mechanisms! * changed mode to plugin * changed forbidden reflexes to reject promise * return error string to forbidden promise * revert forbidden from reject to resolve * tweaks to support non-isolation mode * touch up comments in callback.js * added TODO comment wrt resolveLate * refactored reflex_store.js to reflexes.js, received() to process.js * server side changes to deprecate reflex_id in favor of id * client side modifications to rename reflexId to id * localReflexControllers can import Stimulus * revert #597 😞 * added lifecycle accessor to reflex instance
- Loading branch information
Showing
33 changed files
with
804 additions
and
780 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
let app = {} | ||
|
||
export default { | ||
get app () { | ||
return app | ||
}, | ||
set (application) { | ||
app = application | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.