-
-
Notifications
You must be signed in to change notification settings - Fork 325
Create use_cookie
and use_indexed_db
Hooks
#857
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
This seems to describe a need for third party libraries to subscribe to, and send messages over, the websocket both on the server and the client. This simply isn't possible now and would require a rewrite of the messaging protocol the server and client use now (of which there really isn't one). I mention a similar need briefly in this comment. While defining scripts in the form of a hook is probably more convenient and React-like. I think you can probably get away with using the |
the |
Closing this in favor of #894 |
Current Situation
Currently, there is no convenient way of storing/retrieving purely client sided data.
Proposed Actions
After we migrate
use_query
to core, it makes a lot of sense to add ause_cookie
hook anduse_indexed_db
hook.This might require expanding the IDOM framework to allow hooks to execute JavaScript. So perhaps these hooks are reliant on a
use_script
hook?The
use_script
hook may mean we want to create a FIFO "script processor" on the client side, and then have some method of reporting them back to the server (perhaps this is related?).The text was updated successfully, but these errors were encountered: