Swizzler generated code
There is few places such as 'Sider' generated by swizzle, where there is functions returning JSX defined inside a component (ex. here Sider Component)
Is there a reason why some of these functions return JSX is defined as its considered as 'possible anti pattern', should I refactor ?
I have attached an example of one of the func, This is from SIDER generated by swizzle
Is there a reason why some of these functions return JSX is defined as its considered as 'possible anti pattern', should I refactor ?
I have attached an example of one of the func, This is from SIDER generated by swizzle

