This is the dev preview website. Check out the document at lynxjs.org

Home > @lynx-js/genui > MessageStore > getSnapshot

MessageStore.getSnapshot property

useSyncExternalStore getSnapshot contract — stable between pushes.

Signature:

readonly getSnapshot: () => readonly ServerToClientMessage[];