-
Notifications
You must be signed in to change notification settings - Fork 445
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
Remove Rx from core #465
Comments
Sounds good. I can help with performance analysis as needed. |
+1 on filesize concerns. My eyes went like O_O when I saw how large Falcor is right now. |
@trxcllnt No decision has been made yet. You should proceed with your work as we're using that to evaluate the performance of the ReactiveX/RxJS Next project so that work is tied to both projects. |
The preliminary upgrade to RxJS-Next is done and available in my forks: https://github.com/trxcllnt/falcor/tree/rx-next You’ll have to manually build RxJS-Next, since we’re not presently committing the “dist” folder. For falcor:
For falcor-router (have to build both falcor and falcor-router’s RxJS-Next packages):
|
I will be finishing up the get request cycle to have rx completely removed from it. This will be second step towards NoRX in falcor. #506 |
I was curious about size savings, so did a quick test using browserify.
Obviously this doesn't take into account the size of whatever would replace rx.js, but it is interesting IMO. |
@tivac Our goal would be to remove both path syntax / rx and have our library down to about ~50k, minified. I think this goal is achievable soon. |
@michaelbpaulson That's not from your norx branch. That's me excluding every rx-related module in my browserify config. The source file is just |
The last of the required changes will be in this issue: #604 |
Now Rx itself can be removed from the dependencies. The removal will take a moment due to unit test upgrade. |
Did some new filesize comparisons of
About half the size, kudos @michaelbpaulson! 👍 |
@tivac I don't think you are testing the correct file. A simple |
I mentioned my method in the post:
Since we use falcor via browserify that test is at least accurate for our needs! |
We plan to evaluate removing RX from the core of Falcor. There are several things that motivate this decision:
We will be doing some performance analysis over the next few weeks.
@yunong
The text was updated successfully, but these errors were encountered: