Clarification on client/server imports and optimistic UI

I’m fairly new to using Meteor and there is one small detail in the tutorial that I feel uncertain about. Optimistic UI means loading a file on both the client and server. In the case of the simple-todos app, ‘…/imports/api/tasks.js’ is optimistically loaded. However, it is only imported via simple-todos/server/main.js i.e through the server entry point. Why is it not also loaded through client/main.js?

Thanks in advance!

No - that is not Optimistic UI. Loading files on the client and server is isomorphic code.

Optimistic UI is making use of the client to render changes in the UI before the server makes the change.