DEV Community

Discussion on: Build a "Pluggable" Widget for your Web App

Collapse
 
soorajsnblaze333 profile image
Sooraj (PS)

Thanks for pointing out these points Lex, appreciate you for the resources :).
But in your second point, I actually didn't aim to rerender the component on config change, I wanted to "render" the main component only if the config existed and render nothing if there was no config passed to the react app. Something like an init method. This config was from the recieved at the message event and then I rendered the component only once :)