Facebook
Twitter
LinkedIn
Instagram
Whatsapp
Call Now
Quick Inquiry

How to send props using render in reachrouterdomv6 ?

How to send props using render in reachrouterdomv6 ?
 <Routes>
            <Route exact path="/" element={<ProductList
            {...this.props}
            products={this.state.products}
            currentCategory={this.state.currentCategory}
            info={productInfo}
            addToCart={this.addToCart}
          />}></Route>
            <Route exact path="/cart" element={<CartList />} />
            <Route path="*"element={<NotFound />} />
          </Routes>

8 0

Write a Comments


* Be the first to Make Comment

GoodFirms Badge
GoodFirms Badge

Fix Your Meeting With Our SEO Consultants in India To Grow Your Business Online