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

[BROKEN] getComponentFingerprint #43

Open
Bear-Foot opened this issue Mar 26, 2015 · 6 comments
Open

[BROKEN] getComponentFingerprint #43

Bear-Foot opened this issue Mar 26, 2015 · 6 comments
Labels

Comments

@Bear-Foot
Copy link

With React 0.13.x, you cannot access component._rootNodeID nor component._mountDepth and the object _reactInternalInstance specifying those informations isn't available unless the component has been rendered.
As you request for informations before they are available, it would be an idea to depend on something else.

@kryptt
Copy link

kryptt commented Mar 26, 2015

I just got bit by this situation myself!

@jpsfs
Copy link

jpsfs commented Mar 28, 2015

Hi @andreypopp,

I'm having the same issue with React 0.12.2 and React-Async 2.1.0.

At this moment the __reactAsyncStatePacket has a key that looks something like ".lohvwni1og.0.0__5", but when loading on client side, the getComponentFingerprint(this) is returning ".0.0.0__5". It should be the same.

Do you have any ideia how to fix this?

@andreypopp
Copy link
Owner

Working on a fix.

@andreypopp andreypopp added the bug label Apr 5, 2015
@jpsfs
Copy link

jpsfs commented Apr 5, 2015

Hi @andreypopp,

Finally got the time to check out this issue in a little more detail.
This only happens if the entire page is not rendered with React. In my example I was using express + jade to render the basic of the page and only using react in small bits.

It still happens with React 0.13.

Hope it gives you some more input on this.
Thank you for looking at this,

Best regards,

@kryptt
Copy link

kryptt commented Jun 18, 2015

@andreypopp Whats the status on this issue? I'm confused on whether this is already fixed or not.

@jpsfs
Copy link

jpsfs commented Sep 29, 2015

Hi @andreypopp!

Any updates on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants