Skip to content

[Bug?]: dev hmr error: "template2 is not a function"#1930

Description

@drdxk

Duplicates

  • I have searched the existing issues

Latest version

  • I have tested the latest version

Current behavior 馃槸

npm run dev causes HMR error for notes template

Expected behavior 馃

no error

Steps to reproduce 馃暪

Steps:

  1. npm init solid@latest
  2. select TypeScript, notes
  3. npm i
  4. npm run dev, open browser
  5. modify src/routes/(home).tsx, e.g. add extra "!"
  6. observe browser state

Context 馃敠

No response

Your environment 馃寧

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions