We want to know if Pega allows to use/import External React Package into Pega Application (like in a jsx file, I would like to use something like 'import update from ‘immutability-helper’ to use a library - in this case immutability-helper). If yes please provide references on how to do this.
@BatoulS8 this question has been asked before on this forum, for example here.
Please see the detailed response given by our SME in the following post.
The developer directed the user to his How-use-react-pega and provided an example JSX component.
Another example is shown in this question.
The most recent example was posted in this question.
@MarijeSchillern Yes I searched but did not see this link Customizing Cosmos React components | Support Center . The accepted solution mentions that Pega 8.6 does not provide yet the ability to write custom React components - so I guess that answers my question.
Thank you!
@BatoulS8 For now the best place to learn how to create (custom) DX components is to visit this page: https://www.npmjs.com/package/@pega/custom-dx-components
This describes basically the steps involved. More detailed documentation on docs.pega.com around this will be added shortly.