skip to Main Content

Javascript – Render a list of jsx components in react

I have a list, containing some jsx components like components: components = [ <span className="c1 c2" onClick={() => console.log("test")}>...</span>, <span className="c1 c2" onClick={() => console.log("test")}>...</span>, <span className="c1 c2" onClick={() => console.log("test")}>...</span>, ] BTW the components, is made with pushing into…

VIEW QUESTION
Back To Top
Search