Neketek / web-project-base

Web Project Base
2 stars 0 forks source link

Client side Google and Facebook sdk integration #49

Open Neketek opened 6 years ago

Neketek commented 6 years ago

Google and Facebook provide their own js SDKs which integrate into app at run time which is not really nice, but logically there is no other option for them to keep them updated on the sites which use their SDKs. Due to such integration method we should create React components which will load them automatically.

Neketek commented 6 years ago

I discovered that it will be very hard to integrate SDKs via React component, primarily because we need to speed up page loading via asynchronous scripts loading. I hope I will be able to create method of application suspension which will pause application until required SDKs are not fully loaded.