Up to date example of modal done with Apollo/React?

All the Apollo Client examples and tutorials of modals I’m coming across rely on deprecated features (apollo link, writeData for cache initialization and so on).

Could anyone share an updated example of a modal done in Apollo/React? I’ve just noticed that all my experience with Apollo is about connecitng with backend GraphQL and after reading the docs I’m still not too sure about the best practices regarding cache manipulation for fully client side components (for instance, how to initialize local “isModalOpen” cache fields that have nothing to do with backend resolvers/typedefs)

Cheers =)