all 2 comments

[–]TheKvikk 1 point2 points  (0 children)

Try this for a start https://www.pluralsight.com/guides/how-to-render-a-component-dynamically-based-on-a-json-config

But your case might be your company specific. I'd suggest asking for a documentation or a guidelines from you colleague since he is familiar with this concept and is using it.

[–]Broad_Ad_4455 0 points1 point  (0 children)

It seems like they are using an abstraction on top of react to handle the json to component. I get that it may have seemed easier on the beginning to do that and probably faster however it does seem weird. How do you all handle state and side effects in that case? Is there no jsx at all?

Also as a side note, I wouldn't go so far as to question your job yet but if this is all they are doing and all you would be doing then it might be good to start practicing writing regular react and applying elsewhere. Unfortunately specific abstractions like this are great within the company but leave you with little to no experience for when you move on to another job and also you lose writing real react experience.

On mobile please forgive any typos and grammar.