Use React components inside Angular
Перейти к файлу
dependabot[bot] 25d012c368
Bump minimist, mkdirp, karma and protractor
Bumps [minimist](https://github.com/minimistjs/minimist) to 1.2.8 and updates ancestor dependencies [minimist](https://github.com/minimistjs/minimist), [minimist](https://github.com/minimistjs/minimist), [mkdirp](https://github.com/isaacs/node-mkdirp), [karma](https://github.com/karma-runner/karma) and [protractor](https://github.com/angular/protractor). These dependencies need to be updated together.


Updates `minimist` from 1.2.0 to 1.2.8
- [Release notes](https://github.com/minimistjs/minimist/releases)
- [Changelog](https://github.com/minimistjs/minimist/blob/main/CHANGELOG.md)
- [Commits](https://github.com/minimistjs/minimist/compare/v1.2.0...v1.2.8)

Updates `minimist` from 1.2.5 to 1.2.8
- [Release notes](https://github.com/minimistjs/minimist/releases)
- [Changelog](https://github.com/minimistjs/minimist/blob/main/CHANGELOG.md)
- [Commits](https://github.com/minimistjs/minimist/compare/v1.2.0...v1.2.8)

Updates `mkdirp` from 0.5.1 to 0.5.6
- [Release notes](https://github.com/isaacs/node-mkdirp/releases)
- [Changelog](https://github.com/isaacs/node-mkdirp/blob/main/CHANGELOG.md)
- [Commits](https://github.com/isaacs/node-mkdirp/compare/0.5.1...v0.5.6)

Updates `karma` from 3.1.4 to 6.4.1
- [Release notes](https://github.com/karma-runner/karma/releases)
- [Changelog](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md)
- [Commits](https://github.com/karma-runner/karma/compare/v3.1.4...v6.4.1)

Updates `protractor` from 5.4.2 to 5.4.4
- [Release notes](https://github.com/angular/protractor/releases)
- [Changelog](https://github.com/angular/protractor/blob/5.4.4/CHANGELOG.md)
- [Commits](https://github.com/angular/protractor/compare/5.4.2...5.4.4)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
- dependency-name: minimist
  dependency-type: indirect
- dependency-name: mkdirp
  dependency-type: indirect
- dependency-name: karma
  dependency-type: direct:development
- dependency-name: protractor
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-27 22:47:44 +00:00
.circleci ci|build all docs, not just demo 2019-07-09 09:47:28 +03:00
.github add stale-bot configuration (#82) 2019-01-26 20:39:53 +02:00
.vscode [Fabric] Add Dropdown component (#63) 2018-12-24 17:57:28 +02:00
apps Add ProgressIndicator support in fabric 2019-09-10 11:31:13 +03:00
docs cleanup 2020-01-29 14:36:54 +02:00
libs bump major version 2020-09-13 11:57:18 +03:00
test fix all docs tests and run tests in CI (#100) 2019-03-17 17:40:54 +02:00
tools Upgrade all dependencies- Angular 6.1- TypeScript 2.9.2- office-ui-fabric-react 6.43.0 2018-08-02 11:16:43 +03:00
.editorconfig chore: initial commit from @angular/cli 2018-04-03 20:24:44 -07:00
.gitignore Removed ignoring docs in git (used for GitHub pages) 2018-08-02 18:56:19 +03:00
.prettierrc prettier formatting 2018-07-13 16:28:03 +03:00
CHANGELOG.md Release version 0.6.5 2019-05-16 10:24:47 +03:00
CODE_OF_CONDUCT.md Package upgrades, Prettier alignment (#38) 2018-12-01 21:25:27 +02:00
CONTRIBUTING.md Package upgrades, Prettier alignment (#38) 2018-12-01 21:25:27 +02:00
LICENSE Update to docs. 2018-08-16 11:23:31 -07:00
README.md fix link in documenation 2019-08-22 15:19:05 +03:00
SECURITY.md Microsoft mandatory file 2022-08-29 14:01:08 +00:00
angular.json remove non-maintained projects 2018-08-02 11:16:46 +03:00
nx.json Update to license/copyright on each lib file. Lint fixes. 2018-08-16 12:17:03 -07:00
package-lock.json Bump minimist, mkdirp, karma and protractor 2023-02-27 22:47:44 +00:00
package.json Bump minimist, mkdirp, karma and protractor 2023-02-27 22:47:44 +00:00
tsconfig.json Allow wrapping any React component with an Angular one on-the-fly. (#106) 2019-03-30 16:59:25 +03:00
tsconfig.packages.json [Panel] WIP 2018-06-28 19:39:44 +03:00
tslint.json upgrade (angular): Upgrade to angular 8 - returned nrwl and ngrx. fixed typescript and build errors 2019-06-20 16:13:23 +03:00
yarn.lock Bump minimist, mkdirp, karma and protractor 2023-02-27 22:47:44 +00:00

README.md

React support for Angular

CircleCI

Industry trends, organizational pressures, and other factors can lead to mandates regarding the use of component libraries or migration from one technology to another. In the case of Office UI Fabric, where its use is required, the client must be written in React (there is no Angular component library for the latest version). Rewrite from Angular to React may be cost-prohibitive or ill advised for other reasons.

Use of Angular-React allows consuming any React elements, but specifically Office UI Fabric, within an Angular [2+] application. The library of wrappers for Office UI Fabric simplifies the use of these components with Angular. However, any React code can make use of the custom Angular-React renderer.

Libraries

@angular-react contains two separate libraries:

  • core: npm version

    Includes the Renderer and supporting logic to render Angular components with React implementations as React components.

  • fabric: npm version

    The light-weight Angular component wrappers that expose the Fabric React component API through common Angular components (including both imperative AND declarative syntax in many cases).

Documentation, quick start, and guides | Demo | Contributing | StackBlitz Template | Office UI Fabric

Typical Use Cases

  • Use React component libraries with Angular
  • Incrementally rewrite an Angular application into React (moving from atomic/leaf nodes upward into full features/pages until the entire app is re-written)

Getting started

See a simple StackBlitz Template

Roadmap & Support

Both the core and fabric libraries are in production use in consumer-facing applications at Microsoft. That said, we (the team that currently maintains this project) are a product team, and @angular-react is not our primary focus. We maintain this because we need it and we share it with the wider community with the hope that it will prove useful to others. Of course, we attempt to provide help when possible and we love getting pull requests for improvements/enhancement/fixes from community members. But we don't have any specific plans for the future of this project.

Please take this in to consideration when evaluating this project's suitability for your own needs.

Contributing

If you'd like to contribute, you must follow our contributing guidelines. You can look through the issues (which should be up-to-date on who is working on which features and which pieces are blocked) and make a comment.