A simple, full example that works well with NextJS (with loading extra modules, and the full component code) is not documented for v3 nor for v4.
Or at very least the docs are not easy to find.
Resolving this issue could also close:
and/or potentially more.