Skip to content

Conversation

@remarkablemark
Copy link
Owner

Both HTMLDOMPropertyConfig.js and SVGDOMPropertyConfig.js used to be in react/lib/ directory but since v15.4.x, the configs have been moved to react-dom/lib/.

Created a module that tried to require either react-dom/lib/ or react/lib/ (fallback).

Todo:

A more permanent (less error-prone) solution may be to keep a hardcopy of both configs in the repository (minimize coupling and risk of another change from breaking the package).

Update travis to test react and react-dom versions 15.3 and 15.4.

Fixes #29

Both `HTMLDOMPropertyConfig.js` and `SVGDOMPropertyConfig.js` used
to be in `react/lib/` directory but since v15.4.x, the configs
have been moved to `react-dom/lib/`.

Created a module that tried to require either `react-dom/lib/`
or `react/lib/` (fallback).

A more permanent (less error-prone) solution may be to keep a
hardcopy of both configs in the repository (minimize coupling and
risk of another change from breaking the package).

Fixes #29
@remarkablemark remarkablemark added the bug Something isn't working label Nov 17, 2016
@remarkablemark remarkablemark self-assigned this Nov 17, 2016
@coveralls
Copy link

Coverage Status

Coverage decreased (-1.4%) to 97.826% when pulling 3537bbd on bug-react into cc9c53e on master.

@remarkablemark remarkablemark changed the title Fix bug since DOMPropertyConfigs are moved to react-dom in v15.4 Fix bug due to DOMPropertyConfigs being moved to react-dom in v15.4 Nov 17, 2016
@remarkablemark remarkablemark merged commit d99cf97 into master Nov 17, 2016
@remarkablemark remarkablemark deleted the bug-react branch November 17, 2016 19:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants