Using React.js for Doors Next Generation Client Extension
I will be creating a client extension for Doors Next Generation version 7.0.3. None of the DOORS Next Generation Client extension examples at https://jazz.net/wiki/bin/view/Main/RMExtensionsExamples703 are using React.js. Wanted to know if anyone has successfully made a client extension for DOORS Next Generation using React.js since I don't know if it works well with the OpenSocial specification that client extensions use. |
One answer
You can use whatever you like but if you want it to work as a widget then it's got to know to render inside the frame provided by the OpenSocial gadget.
There's nothing to stop you from setting up a basic gadget that wraps the API calls you need in interface functions, and then provides a button that opens a new tab with a full React application in it. I've done that before with Vue, but I typically use Reportable REST or OSLC calls in the Vue app rather than the Client API, because the Client API is all event driven and so the DNG window needs to be active.
The other thing I would say is that your widget/gadget is typically very basic, as it's going to live in a small rectangle on the side dashboard of DNG, so typically all you need is some basic HTML and CSS. Using React to build the widget content would be massive overkill
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.