Modules imported in Client and Server component are isolated?
Unanswered
Cyanide posted this in #help-forum
CyanideOP
In this
Which is responsible for initiating the object. However, in client component the same which was init earlier seems reset again? Are there any boundaries in runtime in which C and S components are rendered? How can I share data between the two?
configLibServiceProvider
the file @/config
has a global variable of class object or say isInitiate
I called await configLibServiceProvider.prepare({
initialFetchMode: "file",
});
Which is responsible for initiating the object. However, in client component the same which was init earlier seems reset again? Are there any boundaries in runtime in which C and S components are rendered? How can I share data between the two?
1 Reply
CyanideOP