If you're using Mobx and React, you might be tempted to use the React Compiler to auto-memoize your components. But you don't need it. Mobx already does this for you. Depending on your use case, it probably uses less memory and is more efficient across multiple components.
Full article