You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
XFBML.parse needs to run by itself, as necessary whenever a new component is added.
This should be extremely easy to do, just get the ElementRef in (probably) the ngOnViewInit handler and run XFBML.parse only on that node.
The current docs seem to encourage bad behavior by only suggesting the use of FB.init() at the component level. This will probably have performance impact.
Sorry to be mean but this is the most basic basic functionality that a package like this should have. I should be able to just add a <fb-like> wherever I want and only ever care about initializing the API at the root.
The text was updated successfully, but these errors were encountered:
XFBML.parse needs to run by itself, as necessary whenever a new component is added.
This should be extremely easy to do, just get the ElementRef in (probably) the
ngOnViewInit
handler and run XFBML.parse only on that node.The current docs seem to encourage bad behavior by only suggesting the use of
FB.init()
at the component level. This will probably have performance impact.Sorry to be mean but this is the most basic basic functionality that a package like this should have. I should be able to just add a
<fb-like>
wherever I want and only ever care about initializing the API at the root.The text was updated successfully, but these errors were encountered: