I have the following:
nav.jsx component: (everything was working fine till this point)
import React from "react";
import Link from "react-router";
class Nav extends React.Component {
render() {
return (
<ul>
<li>
<Link to="/test1">test1</Link>
</li>
<li>
<Link to="/test2">test2</Link>
</li>
</ul>
);
}
}
export default Nav;
a routes component as follow:
routes.js
import React from "react";
import { Route, Router, IndexRoute } from "react-router";
import ReactDOM from "react-dom";
import App from "./index.jsx";
import Test1 from "./test1.jsx";
import Test2 from "./test2.jsx";
ReactDOM.render(
<Router>
<Route path="/" component={App} />
<Route path="/test1" component={Test1} />
<Route path="/test2" component={Test2} />
</Router>,
document.getElementById("app")
);
and an index.jsx like this:
import React from "react";
import { render } from "react-dom";
import Nav from "./nav.jsx";
class App extends React.Component {
render() {
return (
<div>
<Nav />
<p> Hello React!</p>
</div>
);
}
}
export default App;
however I get the following error in the console:
invariant.js:38 Uncaught Invariant Violation: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. Check the render method of Nav
.
Everything was working fine untill I have added the "Nav" component…
http://tadalafilrembo.com how long does cialis last
https://wardenafil.com levitra online canadian pharmacy
http://kamagraxy.com kamagra 100
http://ventolinhfaer.com asthma albuterol inhaler prices
http://stromectolhumans.com/ ivermectina posologia
http://iwermectin.com/ buy ivermectin pills for dogs
https://ivermectineffects.com ivermectin 12 mg tablets for sale
health risks for vaping spina bifida and heart disease have been associated with a deficiency in which of the following?
ivermectin tablette https://ivermectinhome.com
http://ivermectinus.com/ ivermectin 12 mg tablets for sale
education requirements for doctor when to get hearing aids
topical ivermectin for humans over the counter https://ivermectinhome.com
ivermectin for humans for sale https://stromectolus.com stromectol ivermectin for humans
what to do when blood pressure is low blood pressure monitor for large arms
ivermectin tablets https://ivermectinhome.com
arthritis rehabilitation research health risks polyethylene glycol
ivermectin https://ivermectinhome.com
javascript-help.li reviewed canadian pharmaceuticals online https://pharmvolk.com buy medication without an rx
asthma & allergy center westminster md deaths from hiv aids
ivermectin https://ivermectinhome.com
where to buy cytotec in south africa – cytotec for endometrial biopsy cytotec 25 mg
tadalafil 5mg tablet online canada – cialis 20mg price uk
javascript-help.li recommended ivermectin tablets https://ivermectiny.com ivermectin for sale
prednisone 10mg – generic prednisone 40mg generic prednisone 20mg
online viagra prescription https://viagrob.com viagra ingredients
amoxil 875 – amoxicillin 500 mg amoxicillin 500mg capsules
javascript-help.li and stromectol https://ivermectinhum.com dos tablet ivermectin 3 mg
medrol 2mg price – buy lyrica medication how much is lyrica
where to buy female viagra in us – Buy brand viagra female viagra singapore
http://stromectolo.com – ivermectin
stromectol uk – ivermectin 5 mg ivermectin buy australia
azithromycin without a doctor’s prescription http://azithrozpack.com cipro antibiotics
sztromektol http://ivermectin1.com/ ivermectin tablets for humans
lytx drivecam login – https://allergyd.com
http://ivrmectin.com – where to buy ivermectin
ivermectin for humans ivermectino https://stromectolforte.com/ ivermectin tablets for humans for sale stromectol order online
xenical medicine – generic name for xenical orlistat dosage for adults
ivermectina para humanos https://stromectolforte.com/ buy stromectol online uk ivermectin tablets for humans
cialis discount pharmacy – cialis women cialis 20 mg online pharmacy
prednisone 4 tablets daily – prednisone medication prednisone 20 tablet
drug reactions levitra http://levitraoff.com uroxatral levitra
sildenafil cost in india – 50mg viagra buy sildenafil 200mg
ivermectin 250ml https://ivermecton.com/ ivermectin
how much viagra can you take https://viagwdp.com/ how much does viagra cost at walmart low cost viagra
ivermectin 3 mg without prescription – buy ivermectin 12mg ivermectin 90 mg
viagra 100mg online australia http://viagwdp.com/# purchase viagra canadian pharmacy where to buy generic sildenafil
glaxo amoxil doxy or amoxil for cat bite amoxicillin for boils
zithromax price http://zithromycin.com/ azithromycin online