Deploy React Apps with React Router to Github Pages

  Рет қаралды 26,849

Esterling Accime

Esterling Accime

Күн бұрын

Пікірлер: 132
@michelpomerantzeff1749
@michelpomerantzeff1749 2 жыл бұрын
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
@harismehboob3557
@harismehboob3557 2 жыл бұрын
The best video I have seen to deploy the project
@pedroafonso2114
@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!
@sirius8ly
@sirius8ly 5 жыл бұрын
Dude!!! Thank you soooo much. I have been struggling with this for days. This worked for me. Thank you.
@accimeesterlin
@accimeesterlin 4 жыл бұрын
You're welcome. Glad it worked for you
@EricaFord-j9d
@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. :)
@waqarmughal1573
@waqarmughal1573 2 жыл бұрын
I can't thank you enough!! I have been struggling with this issue since past week. May god bless you brother.
@elijahdr
@elijahdr 4 жыл бұрын
What the hell, why isnt this more popular! Thanks man
@zgregz2456
@zgregz2456 2 жыл бұрын
OOOOOMG, thanks brother, I already had days suffering with the application not rendering, gained another subscriber.
@chaitanyabajpai9647
@chaitanyabajpai9647 9 ай бұрын
Thank you so much, using the hash router fixed my issue in one go
@lucasloopst9010
@lucasloopst9010 3 ай бұрын
Heeeey, you saved my life! Now my site it's running correctly, thx!
@christopherartrip3746
@christopherartrip3746 3 жыл бұрын
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
@Abrahhhhh
@Abrahhhhh 2 жыл бұрын
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!!!😀
@nicklandreth2527
@nicklandreth2527 4 жыл бұрын
This is the second video of yours I have watched. You are a very good teacher. Way to break things down.
@ericadeguzman6799
@ericadeguzman6799 3 жыл бұрын
Thank you! Super easy to follow. Everything else I looked at made it seem more complicated than it is.
@accimeesterlin
@accimeesterlin 2 жыл бұрын
You're very welcome!
@nagucool93
@nagucool93 4 жыл бұрын
Thanks a lot. This really is a time saver. Have been struggling since past two days to deploy
@accimeesterlin
@accimeesterlin 4 жыл бұрын
:)
@ReginaDilevka
@ReginaDilevka 2 жыл бұрын
Thank you very much. I was searching for routes!
@wahabrehman6848
@wahabrehman6848 4 жыл бұрын
This channel criminally underrated
@accimeesterlin
@accimeesterlin 4 жыл бұрын
Thanks Wahab
@sebastianstephenson3176
@sebastianstephenson3176 2 жыл бұрын
thank you so much you have no idea how much i appreciate that.
@mustafakosmaz178
@mustafakosmaz178 3 жыл бұрын
I regret to refuse your video at first time. now i ve published my site on github. thanks very much
@egzonberisha9906
@egzonberisha9906 3 жыл бұрын
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
@kamranloki3792
@kamranloki3792 4 жыл бұрын
bro how long have I been looking for this video
@rushabhdave6648
@rushabhdave6648 2 жыл бұрын
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
@accimeesterlin
@accimeesterlin 2 жыл бұрын
:)
@ericmuhire9995
@ericmuhire9995 2 жыл бұрын
Thank you brother. Very helpful 🙂. I was struggling for a couple of hours.
@accimeesterlin
@accimeesterlin 2 жыл бұрын
No problem. Glad that helps
@TrixyJ
@TrixyJ 4 жыл бұрын
Felt frustrated after not finding a solution for days. Thank you for this video :)
@nihadmehmedovic1911
@nihadmehmedovic1911 2 жыл бұрын
Works perfect, thank you !!!
@subhrajitdey2148
@subhrajitdey2148 2 жыл бұрын
This was extremely helpful. I appreciate your effort. Thank you
@accimeesterlin
@accimeesterlin 2 жыл бұрын
You're very welcome!
@wesley18043
@wesley18043 4 жыл бұрын
the question is why browser router does not work in deploy, and when should we use browser router?
@konstantink1
@konstantink1 4 жыл бұрын
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!
@rohangupta6847
@rohangupta6847 4 жыл бұрын
Many thanks, man!! Exactly what I was looking for! :D
@surajoberai
@surajoberai 4 жыл бұрын
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.
@adiaguidry3848
@adiaguidry3848 5 жыл бұрын
Yess!! You saved me so much time!! Thanks for this video!
@accimeesterlin
@accimeesterlin 5 жыл бұрын
You’re welcome 😉. Glad it saves you so much time.
@giodelacruz9437
@giodelacruz9437 2 жыл бұрын
It's 2022 and this still saved my arse
@tecnosebastube9761
@tecnosebastube9761 3 жыл бұрын
you should have more views! This video was very helpful
@musadanjuma6603
@musadanjuma6603 4 жыл бұрын
Thank you so much bro this realllllllly realllllly helps me!!!!!
@alizaidi5610
@alizaidi5610 3 жыл бұрын
Perfectly explained!
@princekumarsingh2440
@princekumarsingh2440 4 жыл бұрын
Thank you so much bro it's really work for me
@demikill_2137
@demikill_2137 9 ай бұрын
Nice, very helpful)
@erikshumkov4848
@erikshumkov4848 5 жыл бұрын
Thanks a lot for this video. Easy to follow and works as expected! :)
@accimeesterlin
@accimeesterlin 5 жыл бұрын
You're welcome. Glad it was helpful! :)
@nguyenquanghuy6689
@nguyenquanghuy6689 2 жыл бұрын
Thank you! Super easy to follow
@broke4583
@broke4583 4 жыл бұрын
You are AMAZING!!! This helped me so much!
@accimeesterlin
@accimeesterlin 4 жыл бұрын
Glad it helped!
@thiagomeneses6373
@thiagomeneses6373 4 жыл бұрын
Thanks man! Helped me a lot
@piotrszczesniak
@piotrszczesniak Жыл бұрын
Great tutorial, thanks a lot!
@mateosierrabetancur9625
@mateosierrabetancur9625 3 жыл бұрын
just what i needed, thank you
@casafurix
@casafurix 3 жыл бұрын
forever and eternally grateful. thank you.
@aropar
@aropar 3 жыл бұрын
thumbs up for you!
@vastopolo
@vastopolo 5 жыл бұрын
Thanks a lot!! Was struggling for a while
@thisMonje
@thisMonje 3 жыл бұрын
Mil gracias, me re salvaste la vida. Saludos desde colombia!
@closertothecosmos3519
@closertothecosmos3519 3 жыл бұрын
Thank you big time. I am so happy my react website runs ono github now
@jameswebb8397
@jameswebb8397 4 жыл бұрын
Great video, subbed!
@accimeesterlin
@accimeesterlin 4 жыл бұрын
Thanks James
@rushaliasthana1240
@rushaliasthana1240 4 жыл бұрын
Thankyouu soo muchh!!! This worked soo well!!!
@ksells
@ksells 3 жыл бұрын
Such a simple fix, thanks so much
@accimeesterlin
@accimeesterlin 3 жыл бұрын
Thanks
@kukkyou4647
@kukkyou4647 4 жыл бұрын
thanq so mmuch sir ji this is really heplfull
@medaminefh429
@medaminefh429 4 жыл бұрын
You Just Saved Me , Thanks A lot
@samuele.caruso
@samuele.caruso 4 жыл бұрын
AMAZING mate ! U saved my at least 5h :D
@accimeesterlin
@accimeesterlin 4 жыл бұрын
Glad it worked for you as wel.
@letsopeneye
@letsopeneye 2 жыл бұрын
Thanks buddy... you fix my error
@accimeesterlin
@accimeesterlin 2 жыл бұрын
No problem 👍
@joelfolske5843
@joelfolske5843 2 жыл бұрын
Thank you so much!
@ayhmhamame1333
@ayhmhamame1333 2 жыл бұрын
thanks that was very usefull
@marcovaleri7279
@marcovaleri7279 4 жыл бұрын
Thank you so much for this video
@mrtinn2948
@mrtinn2948 4 жыл бұрын
You saved me man, thanks!!
@israeltorres9538
@israeltorres9538 4 жыл бұрын
Great Video!!! Thank you for your help!
@accimeesterlin
@accimeesterlin 4 жыл бұрын
Thanks Israel
@joze.rios44
@joze.rios44 4 жыл бұрын
masterful my dear friend, greetings from Argentina!
@accimeesterlin
@accimeesterlin 4 жыл бұрын
Greeting from Atlanta, Georgia
@SergieArizandieta
@SergieArizandieta 2 жыл бұрын
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
@webdevshow
@webdevshow 5 жыл бұрын
Thanks for such a great tutorial!
@RamGouda-l3s
@RamGouda-l3s Жыл бұрын
Thank you so much
@pickemparty
@pickemparty 2 жыл бұрын
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 /
@camilovillegas8761
@camilovillegas8761 4 жыл бұрын
You the man!
@accimeesterlin
@accimeesterlin 4 жыл бұрын
Thanks
@shyamsoni5389
@shyamsoni5389 3 жыл бұрын
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
@jinyoucheng8114
@jinyoucheng8114 3 жыл бұрын
Thank you so much. Next.js is also possible?
@mayanksrivastav1828
@mayanksrivastav1828 3 жыл бұрын
Thank u so much Sir
@accimeesterlin
@accimeesterlin 3 жыл бұрын
So nice of you
@JptickBass
@JptickBass 4 жыл бұрын
Thank You!
@paragshinde6989
@paragshinde6989 2 жыл бұрын
I am getting error at git init. It showing that , The term 'git' is not recognized
@SumitKumar-co2pm
@SumitKumar-co2pm 4 жыл бұрын
Thanks a lot brother
@hendryprasetya9191
@hendryprasetya9191 5 жыл бұрын
Thanks dude!
@nwobodogeorge5370
@nwobodogeorge5370 4 жыл бұрын
Thanks. God bless.
@draganapopovdev
@draganapopovdev Жыл бұрын
TNX A LOT!
@soumalyasaha8111
@soumalyasaha8111 4 жыл бұрын
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?
@sakshamagarwal6852
@sakshamagarwal6852 4 жыл бұрын
If you face any error than go to settings -> pages and then change deployed branch to gh-pages
@valentinav8585
@valentinav8585 2 жыл бұрын
2 years later but this did the trick! thanks
@邱宇瑨
@邱宇瑨 5 жыл бұрын
Thank you soooooo much!!!!
@omarmosaad2162
@omarmosaad2162 3 жыл бұрын
thanks a lot
@Feitanxerx
@Feitanxerx 7 ай бұрын
Ty buddy
@YetAYou
@YetAYou 4 жыл бұрын
If I have authorization above the Router - does it change deployment or it should work?
@marofe
@marofe 5 жыл бұрын
unfortunately, hashRouter doesn't allows googlebot to rank the page, just the home page will be indexed by google
@torrentinocom
@torrentinocom 4 жыл бұрын
I thought that google cant index react applications at all ....
@silkys8343
@silkys8343 3 жыл бұрын
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
@Ceba551
@Ceba551 3 жыл бұрын
Does this also get rid of any refresh 404 issues when you're not on the landing page?
@alejandromalanche6848
@alejandromalanche6848 3 жыл бұрын
No it does not, I have this same issue
@Ceba551
@Ceba551 3 жыл бұрын
@@alejandromalanche6848 yeah turns out you have to use hash router for this to work.
@soufianeodf9125
@soufianeodf9125 4 жыл бұрын
thanks man
@danielEpifanov
@danielEpifanov 4 жыл бұрын
Thank you
@accimeesterlin
@accimeesterlin 4 жыл бұрын
You’re welcome Infor 😊😊
@giulianacecchetto9307
@giulianacecchetto9307 4 жыл бұрын
Goddddd i lov u
@sevwolve757
@sevwolve757 4 жыл бұрын
Oh, thanks! I lost 1,5 hours for find how make it
@chaudharypraveen98
@chaudharypraveen98 4 жыл бұрын
Same here
@Qwade670
@Qwade670 4 жыл бұрын
thx
@DubinArtur
@DubinArtur 3 жыл бұрын
Чуть не обосрался вначале
@rebelion1
@rebelion1 4 жыл бұрын
are you Haitian? I heard the accent plus I saw your name
@accimeesterlin
@accimeesterlin 4 жыл бұрын
Yes I am
@rebelion1
@rebelion1 4 жыл бұрын
@@accimeesterlin oh nice ok. where in Haiti are you from, and do you do full stack developer full-time or frerelancing?
@rebelion1
@rebelion1 4 жыл бұрын
Im an American Haitian btw
@sufyan2317
@sufyan2317 4 жыл бұрын
U literally tricked us.. Simply say "use HashRouter instead of BrowserRouter "...Anyways nice video...
@songwright
@songwright 4 жыл бұрын
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.
@jumpman23nith
@jumpman23nith 2 жыл бұрын
Thank you so much !!!!!!!!!
@keilaurenmaxinedevries153
@keilaurenmaxinedevries153 2 жыл бұрын
Thank you!!!
@csengerilevente9564
@csengerilevente9564 Жыл бұрын
Thanks!!
@Jroumani
@Jroumani 4 жыл бұрын
Thank you
@hasst9261
@hasst9261 4 жыл бұрын
Thank you
How To Deploy A React Vite App To Github Pages (Simple)
7:39
PedroTech
Рет қаралды 12 М.
Используем GitHub Actions для публикации на GitHub Pages
13:39
Михаил Непомнящий
Рет қаралды 6 М.
Une nouvelle voiture pour Noël 🥹
00:28
Nicocapone
Рет қаралды 9 МЛН
REAL or FAKE? #beatbox #tiktok
01:03
BeatboxJCOP
Рет қаралды 18 МЛН
Don’t Choose The Wrong Box 😱
00:41
Topper Guild
Рет қаралды 62 МЛН
Something is wrong with ISPs in India 🇮🇳
13:17
Mehul - Codedamn
Рет қаралды 84 М.
Деплой SPA (Vite + React + Router) на GitHub Pages
37:23
Игорь Антонов — про JavaScript и разработку
Рет қаралды 8 М.
Contributing to Open Source Can Change Your Life - Here’s How to Do It
3:18
Learn Fast Make Things
Рет қаралды 1,2 МЛН
Хостим REACT сайт на GitHub за 10 минут
10:30
WebDev с нуля. Канал Алекса Лущенко
Рет қаралды 45 М.
How to deploy React App to Github Pages
8:17
Esterling Accime
Рет қаралды 43 М.
I built a chat app in 7 minutes with React & Firebase
8:53
Fireship
Рет қаралды 1,4 МЛН
Every React Concept Explained in 12 Minutes
11:53
Code Bootcamp
Рет қаралды 891 М.
How To Deploy A React App To Github Pages (Simple)
10:00
PedroTech
Рет қаралды 252 М.
Une nouvelle voiture pour Noël 🥹
00:28
Nicocapone
Рет қаралды 9 МЛН