79351969

Date: 2025-01-13 11:08:37
Score: 1
Natty:
Report link

With svelte 5.0, the way of mounting component into js has been changed. Now it looks like that:

import { mount } from "svelte";
mount(Component, {target: targetNode});
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: bugthefifth