[ 
https://issues.apache.org/jira/browse/ARTEMIS-5580?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Grzegorz Grzybek resolved ARTEMIS-5580.
---------------------------------------
    Resolution: Fixed

Fixed 
[here|https://github.com/apache/activemq-artemis-console/commit/14c7826b08807ad8ac03ba28918328a208ea7226]
 where I switched to "deferred Hawtio plugins".

This dynamic method of plugin registration was introduced in {{@hawtio/react}} 
1.10.0 and is described in the new chapter of the documentation: 
https://hawt.io/docs/developers/applications.html#_hawtio_plugin_registration

> Separate initialization and UI code
> -----------------------------------
>
>                 Key: ARTEMIS-5580
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-5580
>             Project: ActiveMQ Artemis
>          Issue Type: Task
>          Components: Web Console
>            Reporter: Grzegorz Grzybek
>            Priority: Major
>
> With the upcoming {{@hawtio/react}} 1.10.0 there's more clear separation of 
> what should be done before rendering {{<Hawtio/>}} React component and after.
> JavaScript {{constructor()}} isn't the best place to do some initialization 
> (with {{fetch()}} for example) - especially if Jolokia is used and we may be 
> in unauthenticated context.
> This issue is about clear separation of initialization code in Artemis 
> Console Extension plugin.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact


Reply via email to