You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So building my nx monorepo with Nestjs & React I came accross the need to have a shared libs folder to reuse entities, services, modules etc. The question I want to raise here is whether is best to have 1 project for all libs or to have per lib a dedicate project? In terms of reusability both would work IMO but in terms of performance for development which is faster? I suppose the second solution as it nx should only rebuild the project that got changed not all of them.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello there,
So building my nx monorepo with Nestjs & React I came accross the need to have a shared libs folder to reuse entities, services, modules etc. The question I want to raise here is whether is best to have 1 project for all libs or to have per lib a dedicate project? In terms of reusability both would work IMO but in terms of performance for development which is faster? I suppose the second solution as it nx should only rebuild the project that got changed not all of them.
Thanks in advance 🙏
Beta Was this translation helpful? Give feedback.
All reactions