Exploring the Source Code: Understanding Capacitor's Storage API

Поделиться
HTML-код
  • Опубликовано: 12 янв 2025

Комментарии • 6

  • @maz_uwu
    @maz_uwu 5 лет назад +1

    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 🙌

  • @JayWilsonJr
    @JayWilsonJr 4 года назад

    This is a fantastic video and expanded my mindset as it relates to exploring a foreign codebase. Thanks!

  • @blokche_dev
    @blokche_dev 5 лет назад

    Thanks for the video. It's really great to explain where and how to find information. I tend to rely too much on documentation...

  • @mip83
    @mip83 5 лет назад

    Not sure why json stringify is required, seems to work for me if I just pass/get the object direct.

    • @JoshuaMorony
      @JoshuaMorony  5 лет назад

      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).

    • @mip83
      @mip83 5 лет назад

      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