How do the code versions work?

  • each code version contains a snapshot of the code at the moment it was pushed

    • so if you switch to a previous code version (before a component was deleted) that component will be there (and will work as it used to)
    • i.e. deleting a component from your code does not delete it from a previous code version
  • pushing a new code version (i.e. doing npm run embeddable:push) creates a new code version in the builder, but it does not affect the published dashboard until you re-publish