Design comparison
SolutionDesign
Solution retrospective
In the component, I defined the ipAddress$ with the observable from the Ip address service. In the Ip address service, we define the IP details with merge operator of initialIPDetails and searchedIPdetails. The searchedIPdetails listened to the domain subject which get called from the component. I'm not sure about the initialization of the service tho, any suggestion is welcomed.
Community feedback
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord