Snippet updates for working with react