How to pass the visible value in renderer so that i show hide or show the layout based on that value

const renderers = [
//register custom renderers
{ tester: ratingControlTester, renderer: RatingControl },

visible value is always go true to the RatingControl . how to control that value .

I’m assuming you are refering to the JSON Forms React seed. visible is true here as there is nothing indicating the rating control to hide. The JSON Forms bindings check for a visible rule and will pass visible:false accordingly.