Custom-UI with React - Add navitems & more #1474
-
Hello I have been reading the documentations and trying to wrap my head around using react as my choice for Admin-UI extensions. So my question is this: Is React-UI extension only available on routes? or is it possible to use for example "addActionBarItem" and "registerFormInputComponent" with react components? And also an extra question: Is it possible to create unique index on custom fields on tables? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi!
Correct - A React app can currently only be mounted at a given route. I think it might be technically feasible to make some kind of wrapper that allows you to embed a React app as a ActionBar item or a FormInputComponent, but it would be a lot of complexity, lots of added bundle size (a whole app just for a single component), and would be an inferior end result to using a native Angular component for those use cases.
Not currently, no. Can you give a little more insight into the use case here? It might be something work considering supporting. |
Beta Was this translation helpful? Give feedback.
Hi!
Correct - A React app can currently only be mounted at a given route. I think it might be technically feasible to make some kind of wrapper that allows you to embed a React app as a ActionBar item or a FormInputComponent, but it would be a lot of complexity, lots of added bundle size (a whole app just for a single component), and would be an inferior end result to using a native Angular component for those use cases.
Not currently,…