profile
viewpoint

Ask questionswhy JSX attributes must only be assigned a non-empty expression ?

Do you want to request a feature or report a bug? Honestly I don't know

What is the current behavior? why JSX attributes must only be assigned a non-empty expression ?

facebook/react

Answer questions trustidkid

Line 14: Parsing error: JSX attributes must only be assigned a non-empty expression

12 | <Route exact path="/login" component={L} /> 13 | <Route exact path="/register" component={R} />

14 | <Route exact path="/profile" component={} /> | ^ 15 | </Switch> 16 |
17 | </div> What is the write keywords to use here?

useful!
source:https://uonfu.com/
answerer
semiu adeyemi biliaminu trustidkid cil track africa limited lagos, nigeria http://www.cil-track.com I have a great interest in building solutions that is capable of reducing human labour in executing daily project using the power of technology.
Github User Rank List