React Programming Patterns .cursorrules strategies