This is an awesome video, in large part because it's also an awesome overview of how to explore a code base you aren't familiar with. Some really great techniques in here 🙌
You are able to pass non-string values to Capacitor's Storage.set as the value? I haven't actually tried that, but the docs and the source code look like they only accept strings as the value (i.e. set(options: { key: string, value: string }): Promise).
Joshua Morony Yea, I’ve been using it this way for quite a while, I was surprised when I saw it done this way in the docs. I think the api should have a typed method e.g. get
This is an awesome video, in large part because it's also an awesome overview of how to explore a code base you aren't familiar with. Some really great techniques in here 🙌
This is a fantastic video and expanded my mindset as it relates to exploring a foreign codebase. Thanks!
Thanks for the video. It's really great to explain where and how to find information. I tend to rely too much on documentation...
Not sure why json stringify is required, seems to work for me if I just pass/get the object direct.
You are able to pass non-string values to Capacitor's Storage.set as the value? I haven't actually tried that, but the docs and the source code look like they only accept strings as the value (i.e. set(options: { key: string, value: string }): Promise).
Joshua Morony Yea, I’ve been using it this way for quite a while, I was surprised when I saw it done this way in the docs. I think the api should have a typed method e.g. get