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

Build React DOM Fiber package #7173

Merged
merged 1 commit into from
Aug 11, 2016
Merged

Conversation

sebmarkbage
Copy link
Collaborator

Builds on top of #7164

This builds a react-dom-fiber.js bundle which exposes ReactDOMFiber. This allows early experiments with the new Fiber reconciler. I now enable it in the Fiber example.

I also expose it in the npm package through react-dom/fiber.

@zpao
Copy link
Member

zpao commented Aug 11, 2016

Let's warn on require time for ReactDOMFiber so it's obvious that this is an unsupported API.

This builds a `react-dom-fiber.js` bundle which exposes ReactDOMFiber.
This allows early experiments with the new Fiber reconciler.

I also expose it in the npm package through `react-dom/fiber`.
@zpao
Copy link
Member

zpao commented Sep 8, 2016

So… do we want to ship this publicly yet? It's definitely unsupported but people might get the wrong idea and think we're going to support this soon.

@gaearon
Copy link
Collaborator

gaearon commented Sep 8, 2016

If you try to use it, it prints a pretty aggressive warning. I think it's fine to ship CommonJS support but not publish (or be quiet about) UMDs.

@zpao zpao added this to the 15-next milestone Sep 8, 2016
warning(
warned,
'You are using React DOM Fiber which is an experimental renderer. ' +
'It is likely to have bugs, breaking changes and is unsupported.'
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the warning that fires if you try to use it.

@zpao zpao modified the milestones: 15-next, 15.4.0 Oct 4, 2016
zpao pushed a commit that referenced this pull request Oct 4, 2016
This builds a `react-dom-fiber.js` bundle which exposes ReactDOMFiber.
This allows early experiments with the new Fiber reconciler.

I also expose it in the npm package through `react-dom/fiber`.
(cherry picked from commit f7e0db9)
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.

None yet

3 participants