elastic/eui

[Meta] Expanded Platform support

JasonStoltz opened this issue · 0 comments

Note

This issue was split out from #2760 to provide an updated plan for how we provide support for various platforms. Reference it for additional historical context.

At a high-level, the only must-have for EUI is to support Kibana (and other Elastic products).

However, it is also desirable to expand coverage to support certain platforms and environments, even if they are not directly needed by Kibana.

There are a couple of reasons for this:

  1. Prototyping - Many folks will use EUI to prototype new projects and concepts, in more modern tech stacks. It is important that we already have that support, so that we do not slow down their progress. We do not want to be a blocker.
  2. Onboarding - Many folks that are onboarding into the Kibana development stack will seek to pull EUI into a new project in order to explore the library.

In terms of expanding coverage, there are a few things we need to consider addressing:

  • SSR support / Next.js - This is a challenge for anyone prototyping in Next.js, which many folks in the company do. In fact, we even provide a Next.js starter project, which has fallen woefully behind on support and updates.
  • Replace and/or revive the Next.js starter project - Users need an easy way to spin up next EUI based project for prototyping. The Next.js starter project could be useful for that. However, we could also consider another form of starter project that lets folks quickly spin up a new project for prototyping. A create-react-app template would be a simple option.
  • Vite / ESM-only bundler support - Folks commonly try to use bundlers like Vite and run into issues with EUI. We should support this.

Vite support

  1. answered
  2. task
  3. task typescript
  4. stale-issue

SSR support

  1. 1 of 6
    developer experience meta task

Next.js support

  1. task

Related

  1. bug known issue