Duuuuuude!!! That is gold! Thank so much!!! I have been struggling with this for days now... 3 years later and you're still saving lives with this
@harismehboob35572 жыл бұрын
The best video I have seen to deploy the project
@pedroafonso2114 Жыл бұрын
It worked ! At first glance I thought that your video was outdated because it's from 4 years ago, but your solution worked nice and clean, thank you so much!
@sirius8ly5 жыл бұрын
Dude!!! Thank you soooo much. I have been struggling with this for days. This worked for me. Thank you.
@accimeesterlin4 жыл бұрын
You're welcome. Glad it worked for you
@EricaFord-j9d Жыл бұрын
Thank you so much!!! I am really new to developing and I could not figure out what I was doing wrong until I came across your video. Thank you again, you're amazing. You won over a new subscriber. :)
@waqarmughal15732 жыл бұрын
I can't thank you enough!! I have been struggling with this issue since past week. May god bless you brother.
@elijahdr4 жыл бұрын
What the hell, why isnt this more popular! Thanks man
@zgregz24562 жыл бұрын
OOOOOMG, thanks brother, I already had days suffering with the application not rendering, gained another subscriber.
@chaitanyabajpai96479 ай бұрын
Thank you so much, using the hash router fixed my issue in one go
@lucasloopst90103 ай бұрын
Heeeey, you saved my life! Now my site it's running correctly, thx!
@christopherartrip37463 жыл бұрын
okay so i had so much trouble getting my portfolio site up and i started to think it had something to do with react router, but i couldnt find anyone else talking about it. Let me just say, for about 4 hours I was debating my career :). Thank you for this :D
@Abrahhhhh2 жыл бұрын
Amazing video man better explanation than most overated "Pro coders" you did an amazing job man I am proud off you I subscribed to your channel!!!😀
@nicklandreth25274 жыл бұрын
This is the second video of yours I have watched. You are a very good teacher. Way to break things down.
@ericadeguzman67993 жыл бұрын
Thank you! Super easy to follow. Everything else I looked at made it seem more complicated than it is.
@accimeesterlin2 жыл бұрын
You're very welcome!
@nagucool934 жыл бұрын
Thanks a lot. This really is a time saver. Have been struggling since past two days to deploy
@accimeesterlin4 жыл бұрын
:)
@ReginaDilevka2 жыл бұрын
Thank you very much. I was searching for routes!
@wahabrehman68484 жыл бұрын
This channel criminally underrated
@accimeesterlin4 жыл бұрын
Thanks Wahab
@sebastianstephenson31762 жыл бұрын
thank you so much you have no idea how much i appreciate that.
@mustafakosmaz1783 жыл бұрын
I regret to refuse your video at first time. now i ve published my site on github. thanks very much
@egzonberisha99063 жыл бұрын
Thank you man, i was strugling a looott cuz I didn't know that there are two differente types of deploying react app with router and without it
@kamranloki37924 жыл бұрын
bro how long have I been looking for this video
@rushabhdave66482 жыл бұрын
I thank You for sharing this valuable information was struggling a lot to find my problem's solution... You just made my day thanks brother
@accimeesterlin2 жыл бұрын
:)
@ericmuhire99952 жыл бұрын
Thank you brother. Very helpful 🙂. I was struggling for a couple of hours.
@accimeesterlin2 жыл бұрын
No problem. Glad that helps
@TrixyJ4 жыл бұрын
Felt frustrated after not finding a solution for days. Thank you for this video :)
@nihadmehmedovic19112 жыл бұрын
Works perfect, thank you !!!
@subhrajitdey21482 жыл бұрын
This was extremely helpful. I appreciate your effort. Thank you
@accimeesterlin2 жыл бұрын
You're very welcome!
@wesley180434 жыл бұрын
the question is why browser router does not work in deploy, and when should we use browser router?
@konstantink14 жыл бұрын
Very helpful video that explains in such clear manner on how it is possible to resolve such tricky and not noticeable issue. Thank you so much!
@rohangupta68474 жыл бұрын
Many thanks, man!! Exactly what I was looking for! :D
@surajoberai4 жыл бұрын
I have been trying this since yesterday. There is nowhere written use HashRouter instead of BrowserRouter while deploying react app using gh-pages. Thanks for sharing the knowledge.
@adiaguidry38485 жыл бұрын
Yess!! You saved me so much time!! Thanks for this video!
@accimeesterlin5 жыл бұрын
You’re welcome 😉. Glad it saves you so much time.
@giodelacruz94372 жыл бұрын
It's 2022 and this still saved my arse
@tecnosebastube97613 жыл бұрын
you should have more views! This video was very helpful
@musadanjuma66034 жыл бұрын
Thank you so much bro this realllllllly realllllly helps me!!!!!
@alizaidi56103 жыл бұрын
Perfectly explained!
@princekumarsingh24404 жыл бұрын
Thank you so much bro it's really work for me
@demikill_21379 ай бұрын
Nice, very helpful)
@erikshumkov48485 жыл бұрын
Thanks a lot for this video. Easy to follow and works as expected! :)
@accimeesterlin5 жыл бұрын
You're welcome. Glad it was helpful! :)
@nguyenquanghuy66892 жыл бұрын
Thank you! Super easy to follow
@broke45834 жыл бұрын
You are AMAZING!!! This helped me so much!
@accimeesterlin4 жыл бұрын
Glad it helped!
@thiagomeneses63734 жыл бұрын
Thanks man! Helped me a lot
@piotrszczesniak Жыл бұрын
Great tutorial, thanks a lot!
@mateosierrabetancur96253 жыл бұрын
just what i needed, thank you
@casafurix3 жыл бұрын
forever and eternally grateful. thank you.
@aropar3 жыл бұрын
thumbs up for you!
@vastopolo5 жыл бұрын
Thanks a lot!! Was struggling for a while
@thisMonje3 жыл бұрын
Mil gracias, me re salvaste la vida. Saludos desde colombia!
@closertothecosmos35193 жыл бұрын
Thank you big time. I am so happy my react website runs ono github now
@jameswebb83974 жыл бұрын
Great video, subbed!
@accimeesterlin4 жыл бұрын
Thanks James
@rushaliasthana12404 жыл бұрын
Thankyouu soo muchh!!! This worked soo well!!!
@ksells3 жыл бұрын
Such a simple fix, thanks so much
@accimeesterlin3 жыл бұрын
Thanks
@kukkyou46474 жыл бұрын
thanq so mmuch sir ji this is really heplfull
@medaminefh4294 жыл бұрын
You Just Saved Me , Thanks A lot
@samuele.caruso4 жыл бұрын
AMAZING mate ! U saved my at least 5h :D
@accimeesterlin4 жыл бұрын
Glad it worked for you as wel.
@letsopeneye2 жыл бұрын
Thanks buddy... you fix my error
@accimeesterlin2 жыл бұрын
No problem 👍
@joelfolske58432 жыл бұрын
Thank you so much!
@ayhmhamame13332 жыл бұрын
thanks that was very usefull
@marcovaleri72794 жыл бұрын
Thank you so much for this video
@mrtinn29484 жыл бұрын
You saved me man, thanks!!
@israeltorres95384 жыл бұрын
Great Video!!! Thank you for your help!
@accimeesterlin4 жыл бұрын
Thanks Israel
@joze.rios444 жыл бұрын
masterful my dear friend, greetings from Argentina!
@accimeesterlin4 жыл бұрын
Greeting from Atlanta, Georgia
@SergieArizandieta2 жыл бұрын
Nice video, i saw too many videos n configuration en packetjson, base name of the browserrouter, but ty ur explications r so good n be of utility for me
@webdevshow5 жыл бұрын
Thanks for such a great tutorial!
@RamGouda-l3s Жыл бұрын
Thank you so much
@pickemparty2 жыл бұрын
Setting the homepage in the package.json file still shows the following message The project was built assuming it is hosted at / You can control this with the homepage field in your package.json I am not sure why its not recognizing the entry i put in the json file and seems to default to /
@camilovillegas87614 жыл бұрын
You the man!
@accimeesterlin4 жыл бұрын
Thanks
@shyamsoni53893 жыл бұрын
Hi, I am using this.props.history.push({ pathname:`some path`, state:{ object :object} }) ; on handleSubmit click And reading the data into routed component like this.props.location.state.objectName.field This is working fine when I am using BrowserRouter even when i refresh the page i get the values on page BUT when I am using Hashrouter and I refresh the page I get error saying Can not read properties of undefined Please help
@jinyoucheng81143 жыл бұрын
Thank you so much. Next.js is also possible?
@mayanksrivastav18283 жыл бұрын
Thank u so much Sir
@accimeesterlin3 жыл бұрын
So nice of you
@JptickBass4 жыл бұрын
Thank You!
@paragshinde69892 жыл бұрын
I am getting error at git init. It showing that , The term 'git' is not recognized
@SumitKumar-co2pm4 жыл бұрын
Thanks a lot brother
@hendryprasetya91915 жыл бұрын
Thanks dude!
@nwobodogeorge53704 жыл бұрын
Thanks. God bless.
@draganapopovdev Жыл бұрын
TNX A LOT!
@soumalyasaha81114 жыл бұрын
Thanks Accime. I followed this approach, however I have a different problem. While clicking the navbar it is working fine to navigate to a different page as shown by you, but if it is a button the page can't show up the desired page. Any clue?
@sakshamagarwal68524 жыл бұрын
If you face any error than go to settings -> pages and then change deployed branch to gh-pages
@valentinav85852 жыл бұрын
2 years later but this did the trick! thanks
@邱宇瑨5 жыл бұрын
Thank you soooooo much!!!!
@omarmosaad21623 жыл бұрын
thanks a lot
@Feitanxerx7 ай бұрын
Ty buddy
@YetAYou4 жыл бұрын
If I have authorization above the Router - does it change deployment or it should work?
@marofe5 жыл бұрын
unfortunately, hashRouter doesn't allows googlebot to rank the page, just the home page will be indexed by google
@torrentinocom4 жыл бұрын
I thought that google cant index react applications at all ....
@silkys83433 жыл бұрын
Thanks a lot for this video. I have one issue related with my react project that is quotes generator. my quotes generator is working with port 3000 but after deploy its not displaying in the site. pllllllllllllllllllllleeeeeeeeeeeeeeese help me
@Ceba5513 жыл бұрын
Does this also get rid of any refresh 404 issues when you're not on the landing page?
@alejandromalanche68483 жыл бұрын
No it does not, I have this same issue
@Ceba5513 жыл бұрын
@@alejandromalanche6848 yeah turns out you have to use hash router for this to work.
@soufianeodf91254 жыл бұрын
thanks man
@danielEpifanov4 жыл бұрын
Thank you
@accimeesterlin4 жыл бұрын
You’re welcome Infor 😊😊
@giulianacecchetto93074 жыл бұрын
Goddddd i lov u
@sevwolve7574 жыл бұрын
Oh, thanks! I lost 1,5 hours for find how make it
@chaudharypraveen984 жыл бұрын
Same here
@Qwade6704 жыл бұрын
thx
@DubinArtur3 жыл бұрын
Чуть не обосрался вначале
@rebelion14 жыл бұрын
are you Haitian? I heard the accent plus I saw your name
@accimeesterlin4 жыл бұрын
Yes I am
@rebelion14 жыл бұрын
@@accimeesterlin oh nice ok. where in Haiti are you from, and do you do full stack developer full-time or frerelancing?
@rebelion14 жыл бұрын
Im an American Haitian btw
@sufyan23174 жыл бұрын
U literally tricked us.. Simply say "use HashRouter instead of BrowserRouter "...Anyways nice video...
@songwright4 жыл бұрын
I'm having a problem with this video. In your video, the code in your index.js file looks like this: import React from "react"; import ReactDOM from "react-dom"; import './index.css'; import App from "./App"; import { BrowserRouter as Router } from 'react-router-dom'; ReactDOM.render( , document.getElementById("root")); When I create a new React app, my code looks like this: import React from 'react'; import ReactDOM from 'react-dom'; import './index.css'; import App from './App'; import reportWebVitals from './reportWebVitals'; ReactDOM.render( , document.getElementById('root') ); Do you see the problem? There is nothing in my index.js file that refers to BrowserRouter or Router. Where am I supposed to put HashRouter? Maybe the problem is that this video is two years old.