Comments (7)
@lygstate @bryandbs
Hi, you should import AngularReactBrowserModule in AppModule
import { AngularReactBrowserModule } from '@angular-react/core';
@NgModule({
imports: [
AngularReactBrowserModule,
....
from angular-react.
As far as I know, @angular-react/core: 1.0.1
works only when following dependencies and versions installed:
"react": "^16.6.3",
"react-dom": "^16.6.3",
My project works well with above package.json
settings, hope it helps :)
from angular-react.
@yuchaosydney I updated my dependencies and reinstalled everything, still getting the same error. Even tried to use a basic react component I wrote myself, still not getting any luck. If you have a link to a project or gist where I can see how you integrated a component library, that would be very helpful
from angular-react.
I was seeing this as well (although I didn't notice any negative side effects). It goes away if I set reactNodeRef to static = true:
@ViewChild('reactNode', { static: true }) protected reactNodeRef: ElementRef;
from angular-react.
Did you have any success resolving this issue @bryandbs. I'm having the same problem
from angular-react.
Same issue
from angular-react.
I had the same error, tried all suggested fixes and it still didn't work. In my case, I forgot to set
styles: ['react-renderer']
in the declaration for my wrapper component.
from angular-react.
Related Issues (20)
- Dropdown list opens a dialog container HOT 1
- Could you add quick start? HOT 2
- New Feature Request: Support reactive form control of Angular Reactive Form
- Working from source
- How to using Fluent theme? HOT 1
- Deprecated lifecycles
- Getting angular-react working with angular aot without jit runtime
- Working with Angular 9? HOT 10
- Help requested on wrapping react component into angular
- Attribute validation can break the app if plugins have mutated the DOM HOT 1
- angular-react and hooks HOT 1
- The Label component from Microsoft Fluent UI
- New Feature Request: Support React Portals HOT 1
- Support for angular 12 HOT 1
- Can we get the 3.x version to work with Angular 10 ?
- This repo is missing important files HOT 2
- Types are missing in the 4.1.0
- fab-people-picker resolveSuggestions callback gets invoked with the incorrect scope
- fab-dropdown changes to the options are not reflected in the callout
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from angular-react.