Skip to content
Advertisement

Tag: angular

How to improve rendering performance with *ngFor in Angular

I am creating a chat app, and performance is slow when a lot of messages are sent at once. The messages show up but the UI becomes unresponsive for a while. Here is a simplified version of the code and how can I fix this? HTML: TS: Answer The best in your case is to control the angular change detection

Cant start angular project

I was having some problems with an angular project so i reinstalled nodejs and angular cli however now when i try to run ng serve i get this error: enter image description here now ive done the typical google searching for this problem and it led me to stackoverflow with making sure the nodejs is in the enviroment variables path

D3 events in new versions

I have written the following snippet: I am aware that the d3.event has been removed in new releases, but reading through the documentation on how to handle the events in callbacks does not make me understand how to modify this… Can someone please explain this tiny bit to me and how to fix it to work, in a simple way

How to get bytecode from selected pdf in angular

I want to extract the bytecode from an file I select (pdf) to save it in my database. But I am always getting the error that my byte is undefined. Could someone look at my code and tell me what is wrong with it? I tried to use the FileReader but my byte returns undefined, the formdata works fine it

Advertisement