v0.20.233 - 12.4 / 5.5

Classes

If a component class fits your use case, extend Pota and render the class as you would any component.

If the subclass defines a ready() or cleanup() method, pota calls them at the matching lifecycle points — you don't need to register them manually.

# Example

Testing a Class