livereactload icon indicating copy to clipboard operation
livereactload copied to clipboard

Add livereloadable react-router example

Open milankinen opened this issue 7 years ago • 10 comments

Continuing from #43.

LiveReactLoads need an example for react-router (and perhaps also an example where both react-router and redux are being used). I'm gonna use @tukkajukka's excellent example project as a template (if it's ok?).

The example will be a part of the upcoming 2.3.0 release (please see #118).

milankinen avatar Jul 13 '16 11:07 milankinen

@milankinen Yes, that is totally ok!

jukkatupamaki avatar Jul 13 '16 11:07 jukkatupamaki

Hi,

Any news regarding this example? :)

Thanks!

neemzy avatar Aug 31 '16 08:08 neemzy

@neemzy I just updated my React template and it uses now Redux, React Router and Livereactload. You can find that here: https://github.com/lemanse/simple-react-app

jukkatupamaki avatar Aug 31 '16 09:08 jukkatupamaki

@tukkajukka Thanks a ton, but my project isn't using Redux, and I therefore can't use syncHistoryWithStore. I'd really love to see a working example without Redux!

neemzy avatar Sep 02 '16 14:09 neemzy

There's a version without Redux if you checkout an earlier commit: https://github.com/lemanse/simple-react-app/commit/108f298cdac25334dd5c4fb3c5031d593f1720f2

On 02 Sep 2016, at 17:47, Tom Panier [email protected] wrote:

@tukkajukka Thanks a ton, but my project isn't using Redux, and I therefore can't use syncHistoryWithStore. I'd really love to see a working example without Redux!

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

jukkatupamaki avatar Sep 02 '16 18:09 jukkatupamaki

Oh, right. I'll give it a try soon then :) Cheers! Feel free to close the issue if you want to.

neemzy avatar Sep 05 '16 07:09 neemzy

I've had no time to work with this yet. Sorry about that. I'll try to finish this as soon as I manage to get some time for my personal projects.

milankinen avatar Sep 05 '16 09:09 milankinen

No worries! Thanks :)

neemzy avatar Sep 05 '16 11:09 neemzy

I don't think this is really required anymore as the lib works seamlessly with react-router :)

neemzy avatar Sep 14 '16 16:09 neemzy

Nice to hear that! I think it's still good to have an example though, thus not closing this issue yet. 😄

milankinen avatar Sep 16 '16 19:09 milankinen