Dynamic Table cell content does not like my component

I’m experimenting with UI kit and Dynamic Tables to see how far I can take them.
My goal is to develop a table with rows that allow me to click on a link/button to access another “page”.
I could not add a component to the cell’s content. :face_with_raised_eyebrow:

Do I define the component incorrectly? I created a separate file with my component, as any other would, and immediately had this app rendering issue. The identical component works perfectly outside of the Dynamic table.

P.S. What is the correct way to implement routing with “pure” UI kit? At first glance I could not see how to implement Link and React Router in one app.

Thanks in advance.

If you’re using the UI Kit, you can’t really use custom elements everywhere. The type is defined as accepting Forge elements or strings. So you can’t have other components there (you can have functions that return Forge components). You can also see a guide on routing.

2 Likes