Skip to content
  1. Development version of Ogma

Development version of Ogma

Ogma is now shipped with a development version, which has additional messages to help you debug your code. This version is not recommended for production use, but can be useful for debugging. Currently it notifies you about using the deprecated APIs, such as ald ogma.events.onClick etc, and in cases when it has to fallback to the default behaviour due to bad parameters or resources not being available.

We are planning also to add more messages and timers in that version to warn you when you are doing something that is not recommended, or not following the best practices.

How to use it

To use it, you need to import the development version of Ogma instead of the production one:

ts
import Ogma from '@linkurious/ogma/dev';

// code as usual

Stay tuned for more features in the development version!