Closed Bug 1408791 Opened 7 years ago Closed 6 years ago

Investigate using react2angular instead of ngReact

Categories

(Tree Management :: Treeherder: Frontend, enhancement, P3)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: emorley, Assigned: camd)

References

Details

Attachments

(1 file)

We currently use ngReact to embed React inside our Angular 1 app:
https://github.com/ngReact/ngReact

However the reademe of that project says:

> Note: For a more modern alternative to ngReact, we recommend react2angular, angular2react, and ngimport.

It looks like these alternatives both allow a more modern ES6 approach, plus will allow for an easier transition to more React and/or Angular 2.

See:
https://github.com/coatue-oss/react2angular
https://github.com/bcherny/ngimport
Component: Treeherder → Treeherder: Frontend
Blocks: 1384255
Lets just focus on moving to React instead.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
I changed my mind on this.  This package solves a couple issues I was hitting with ng-react.  :)
Status: RESOLVED → REOPENED
Resolution: WONTFIX → ---
Comment on attachment 8968655 [details] [review]
Link to GitHub pull-request: https://github.com/mozilla/treeherder/pull/3462

You were right all along...  :)
Attachment #8968655 - Flags: review?(emorley)
Blocks: 1451492
Attachment #8968655 - Flags: review?(emorley) → review+
Commit pushed to master at https://github.com/mozilla/treeherder

https://github.com/mozilla/treeherder/commit/4f2ee0c88b89b5fa9dcf0059308c4316d1df6e7c
Bug 1408791 - Move to using react2angular (#3462)

* Also fixes Bug 1451492 - Wording of Treeherder view for brand-new Try push is still sometimes the unfriendly version
Status: REOPENED → RESOLVED
Closed: 6 years ago6 years ago
Resolution: --- → FIXED
Assignee: nobody → cdawson
Summary: Investigate using react2angular/ngimport instead of ngReact → Investigate using react2angular instead of ngReact
Depends on: 1458017
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: