State of React for Plugins

I mostly agree, atm React is stable in foreman core, but doesn’t in plugins.
We (@ui_ux) constantly work on react infrastructure:

  • Webpack redesign - which should improve packaging, production runtime errors, bundle duplication, etc…
  • Cooperation with QE in order to build UI dedicated E2E
  • Opinionated override mechanism - for instance, a PR in katello which replacing deface with react content using Slot&Fill
  • Adding client routing mechanism - https://github.com/theforeman/foreman/pull/6522

I would say that currently react in plugins is in kind of experimental stage, therefore I’m not recommending using it for large parts atm, at least until we will stabilize it, which that point is close then ever I believe.

1 Like