Premium support for our pure JavaScript UI components


Post by afgrundsvisioner »

Currently npm-installed bundle does not support SSR using next.js, which requires a hack with dynamically-imported Bryntum.

Hot realoding is not working with it, and, additionally, there is no ESM support.

Do you have any plans to modernize build output with:

  • Cut dependency to window to gain SSR support
  • ESM as primary build output
  • Provide CJS build output as a fallback support for ENV's that does not support ESM

?


Post by mats »

Hot reloading is not working with it, and, additionally, there is no ESM support.

Our default bundle is an ESM module, how do you mean we don't support ESM?

Cut dependency to window to gain SSR support

I think the problem here is the Next JS virtual DOM implementation not covering enough web APIs. Is it just the "window" reference, or what errors do you get?

Provide CJS build output as a fallback support for ENV's that does not support ESM

We offer a UMD bundle as a fallback, but we will likely drop support for this soon as this is a legacy way of JS development.


Post Reply