Replies: 2 comments 4 replies
-
Storage wasn't really adopted by the community and it was hard to get right without generics. We might look at it for v2.2+ |
Beta Was this translation helpful? Give feedback.
-
Totally agree on a need to have a backend storage functionality. Indeed it seems that right now the only way to store anything is localstorage on frontend side, but backend might need the storage in the first place to expand/initiate the data. That leads to a non-practical approach where frontend reads from localstorage, passes the date to backend, receives the response and only then is able to operate. |
Beta Was this translation helpful? Give feedback.
-
In
Runtime
in v1, Store function is provided for state storage and synchronization, I think this is a good function, we should provide such a function in v2.Although the
localstorage
of the front-end part can also provide the function of local storage, I personally still insist that the front-end part is only used for view display, such as data processing, communication, and storage, which should be done by Go, not all The functions are all done by the front-end part, and the wails are only regarded as the shell of a web application.Beta Was this translation helpful? Give feedback.
All reactions