Project

General

Profile

Feature #25308

Additional support for plugins with React

Added by Ondřej Pražák 5 months ago. Updated 3 months ago.

Status:
Closed
Priority:
Normal
Category:
JavaScript stack
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

There are 2 items that I encountered in a plugin using React:

  • there is no way to add stylesheets for react components into page. We should have a helper similar to the one we have for js files
  • we use LodashModuleReplacementPlugin which introduces certain optimalizations. Some of them break components from patternfly-react.

Related issues

Related to Katello - Refactor #25314: Use new helpers for including webpacked js and css filesClosed

Associated revisions

Revision 11165fa0 (diff)
Added by Ondřej Pražák 5 months ago

Fixes #25308 - Additional support for plugins with React

History

#1 Updated by The Foreman Bot 5 months ago

  • Assignee set to Ondřej Pražák
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/6171 added

#2 Updated by Tomáš Strachota 5 months ago

  • Fixed in Releases 1.21.0 added

#3 Updated by Tomáš Strachota 5 months ago

  • Related to Refactor #25314: Use new helpers for including webpacked js and css files added

#4 Updated by Ondřej Pražák 5 months ago

  • Status changed from Ready For Testing to Closed

#5 Updated by Tomer Brisker 3 months ago

  • Category set to JavaScript stack

Also available in: Atom PDF