-
Notifications
You must be signed in to change notification settings - Fork 42
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
Removed the Avalonia.ReactiveUI dependency #118
Conversation
Removed the dependency and replaced some stuff with internal code
For this PR, may you update the description of this PR to explain, "added some required implementations", and include a unit test for the functionality to ensure we are getting the expected behaviors. This assists future readers of this PR to understand what was changed and how it affects the library. |
Just updated the description of the RP |
…servableExtensions is internal now and visible only for Tests
You can also look at https://github.com/devlooped/RxFree which are source only reactive extensions with the basic feature of System.Reactive, so you don't have to reimplement the helpers. The extensions also will be internal to your project so consumers won't see them. |
This will be merged in shortly. Sorry for the delay, had to tend to other repos over the past couple weeks |
All set |
Vanilla Prism doesn't have dependencies on libraries like the ReactiveUI (libraries that help us to create UI with code weaving). So I think that Prism.Avalonia also should not use it.
The only thing used in ReactiveUI was subscribing on IObservable interface implementations with lambda methods. In my opinion this is innormal to depend on the library and use only a thing.
So now there is a AnonymousObserver implementation taken from ReactiveUI and ObservableExtensions that gives us the Subscribe method for IObservables.
Tests added :)