Make cursors for React from any data structure