Reactjs – Server components: Can we use webpack to add "use client" in modules from compponent library?
React server components make us use the "use client" directive on top of files. This basically breaks react components library (like ReactBootstrap and PrimeReact) and makes us create wrapper files just to add "use client" in each module exported by…