React

UseEffect

ReactNodes

You can add components as props to work them into the layout of another component. Here is an example from the project.

Here we add the editorControls to the backend render.

We can pass this whole component and it's render logic as a prop. This allows us to fit it into the layout of the display component.

Converting Ids to Actual Objects

Here we map the IDs to the objects they represent. The final filter is to be sure that none of those are null.

Last updated

Was this helpful?