-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support patching non-React Component classes? #50
Comments
Unfortunately What is your goal you are trying to solve with |
I was inspired by the React Hot Loader talk at ReactEurope, so I set out to recreate what I saw using a different stack (browserify + livereactload + rxjs (instead of redux)) I have it basically working here - https://github.com/duncanmak/experiments/tree/action-playback/flux-by-rx The main file that loads in the state is here - https://github.com/duncanmak/experiments/blob/action-playback/flux-by-rx/src/main.ts I tried webpack and HMR and I also can't get it to do this same thing, perhaps I'll need to replace my Event objects with something simpler, alas 😞 |
Ahh! Then you should definitely take look at ffux: https://github.com/milankinen/ffux I'm also an enthusiastic FRP user so I implemented ffux especially React+FRP combo in my mind. Live reloading is also supported. Though the examples contain only Webpack version, the same code should work with LiveReactload too (and no lrApi should be needed at all!).
|
Hello,
I noticed that if I save objects using LrAPI's
setState
and then get them back on reload, methods that were changed do not get patched onto the existing objects.For example;
If this is not supported, I'd love to contribute to the project so that this could work, I just need some pointers.
The text was updated successfully, but these errors were encountered: