What should i use: AUI or Atlaskit

If you’re going down the path of AUI for Connect apps, just be aware of a couple of things:

  1. Have a read of this thread which details some of the challenges of consuming AUI. We have been stuck on an ancient version of AUI 7.x because we haven’t found a good way to consume just the parts of AUI that our apps use. Which then leads to…

  2. There are some new security requirements coming for Connect apps, one of which is that your app needs to use a Content Security Policy (CSP) that prevents unsafe-inline and unsafe-eval scripts. Atlassian’s own AUI 7.x falls foul of this because somewhere in it there is a string of JS being eval’ed.

Given that we only really used it for presenting error/warning banners for things like license issues, we’re in the process of ripping out AUI (and jQuery) from our apps, which should both help with bundle size and address the issues above.

I would echo @remie ‘s comments above that none of Atlassian’s design/component libraries are an obvious choice.

Good luck!

1 Like