Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript

Jason Pallone
Jason Pallone
11,340 Points

Question about creating React portfolios

If I want to create a portfolio using, HTML, CSS, React, AJAX, jQuery. So I understand how I'd create my main web page, but to link to my portfolio projects with react, do I do this with React Router? Like when clicking on my project it redirects them to a new path that renders the main app component of my project? Or how does that work? Because I wouldn't want like for example my main page nav bar in my project, so how would i make it so it only renders my project components and not my main page?

1 Answer

Brendan Whiting
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Brendan Whiting
Front End Web Development Techdegree Graduate 84,738 Points

I think you should deploy each project separately, whether using github pages. putting them in an s3 bucket, heroku, whatever is right for that project. Then, your portfolio can just link to your projects the old fashioned way, a link to somewhere else on the web. Doing it with react-router sounds like you'd end up with each project nested inside an iframe or something. Maybe I'm not understanding the question correctly.

Jason Pallone
Jason Pallone
11,340 Points

That is a good idea too! I figured out how to do what I want though, thank you very much for your time!