Skip to content
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

[Fiber] WIP context #8216

Closed
wants to merge 3 commits into from
Closed

Conversation

edvinerikson
Copy link
Contributor

I am currently trying to get familiar with the Fiber codebase and IMO the best way to get up to speed is to work with the code.
So I started working on adding context support and got some tests passing for it however I am not sure if this is a good approach and I would appreciate some feedback on the work. All flows are not implemented yet.

I am not sure if I should utilize the Fiber more, right now I have childContext there which seems to break the pattern with memoized and pending. e.g maybe childContext could be renamed to memoizedChildContext but I am not sure what pending would be. Feedback would be helpful.

@sebmarkbage
Copy link
Collaborator

I'd like to explore a zero cost solution of context. The current way we do context is too expensive when you're not using it. We have a different strategy in mind that I think @gaearon might be looking at atm.

@edvinerikson
Copy link
Contributor Author

Alright, sounds reasonable. Looking forward to see a different approach. Since you are working on this internally is there something else that I might be able to work on?

@sebmarkbage
Copy link
Collaborator

@edvinerikson If you look at Phase 5 of #7925 there are a few issues there that are unclaimed that would be very helpful. You can also look for unit tests that aren't covered by the other ones issue.

@edvinerikson
Copy link
Contributor Author

Thanks! I'll take a look, some of them are just magic for me 😆

@gaearon gaearon self-assigned this Nov 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants