I am not sure why my tsserver lsp is complaining about regular tags in my react code. Anyone have any ideas.

  • @Tuna_no_crust
    link
    English
    11 year ago

    I’d start with the dumbest things I’d overlook. That’s my go-to debugging strategy. Have you installed the react typings? npm i @types/react

    That error says it can’t find the corresponding mappings of JSX elements to their HTML elements. So I’d start with checking my types to see if I didn’t install them or have conflicting typings.