Skip to content
This repository has been archived by the owner on Apr 9, 2020. It is now read-only.

Tests fail with: Warning! This doesn't currently work for stateless functional components that were introduced in React 0.14! #80

Closed
mnemanja opened this issue Jul 26, 2016 · 2 comments

Comments

@mnemanja
Copy link

Actually I can confirm that it does work with the stateless functions, but it does not work with the extended class components when trying to run the test where the component is being included.

The error message appears:

Error('locals[0] does not appear to be a `module` object with Hot Module ' + 'replacement API enabled.

I am using this boilerplate.

This is their .babelrc

@miraage
Copy link

miraage commented Nov 27, 2016

@gaearon any suggestions how it could be implemented? I need this feature so much and I'm ready to try myself in implementation.

@mnemanja mnemanja closed this as completed Apr 8, 2020
@gaearon
Copy link
Owner

gaearon commented Apr 8, 2020

This whole project is deprecated and you should remove it.

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

No branches or pull requests

3 participants