v0.20.230 - 7.1 / 5.9

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