-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rendering twice on --prod version? #8
Comments
I am also having the same issue. Please fix this. |
im also having the same issue :( |
any solutions ? |
+1 |
1 similar comment
+1 |
Hello, quick solution to fix twice rendering in --prod mode is: set in angular.json "buildOptimizer": false. |
pure_getters from build optimizer is probably causing this issue. See: angular/angular-cli#11439 for more information or this link: angular/angular-cli#12096 |
The issue should be fixed. Feel free to reopen if it's not. |
@wynfred Thanks a lot, works like a charm. when are you going to upgrade to angular 7, 8, 9?? |
@nsksaisaravana The current version should work with v7 and v8. I think it should work with v9 and IVY as well, and I'll do more testing after the official v9 is released. |
Reopen because same issue was reported by #26 |
The fix above by @Murena7 worked for me as an interim solution.
|
@madmacc Just FYI, if you have an app in production, turning off buildOptimizer is not a good idea, unless you are fine with the change of bundle size. |
@wynfred True. I ended up using your other suggestion and turning off the animation and using my own angular animations.
|
any update on this? does anybody have a suggestions to keep the animations and fix this? :) |
Hopefully this fixes the animation issue. I'd appreciate if you can help test the new release and report issues if there are. |
@wynfred I really like your last update v9, that's amazing, just leaving this comment here, coz this is the only way to send you a message :) You are awesome 👍 |
@webcat12345 glad to hear that 😄 |
Any updates here? |
I'm having an issue with the grid items.
When running in dev env, it seems to work fine.
Also, building with --aot works fine.
But if I
serve
with--prod
or build with--prod
, the grid items are rendered twice :/The text was updated successfully, but these errors were encountered: