GitHub user benkeen opened a pull request:
https://github.com/apache/couchdb-fauxton/pull/617
React 14 update
- update React to the most recent version (`0.14.6`)
- compatibility update for React Bootstrap (latest version: `0.28.2`)
- various code updates to use ReactDOM instead of React.
N.B. I ran into an issue with testing React Bootstrap modal components.
Testing them was problematic in the first place because they work by creating
the modals at the top level of the DOM *outside* the wrapper component. As
such, you need to locate the elements in a different fashion (see test code).
This seems to have been broken with the latest updates to the lib / React
itself. I spent a long time investigating a workaround but couldn't find a
solution. I'll create this PR in the meantime & return to it when I can.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/benkeen/couchdb-fauxton react14
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/couchdb-fauxton/pull/617.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #617
----
commit 190972c1a29deac946b423e265e8b5acaefae472
Author: Ben Keen <[email protected]>
Date: 2016-01-19T17:49:30Z
Updating React to 0.14.6
commit eab736a221fafe9a295d015f89ceb3c7a761a87e
Author: Ben Keen <[email protected]>
Date: 2016-01-19T18:33:45Z
removing react 14 warnings
commit 396f6b89011e5bf0c5feb40b6904495873568c5f
Author: Ben Keen <[email protected]>
Date: 2016-01-19T18:48:53Z
react-bootstrap updated to 0.28.2
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---