cd meteor-svelte-tracker-ssr-example; meteor update
Some warnings at this point, install suggested dependencies:
meteor npm install --save svelte@3.27.0 @babel/runtime
Working with full reload needed. Now trying to get HRM to work:
meteor add hot-module-replacement
Still makes a reload. Adding this package:
meteor add zodern:melte and swap svelte:compiler with zodern:melte in .meteor/packages.
Now when I make a change, an error is thrown in browser console:
zodern_melte.js [HMR][Svelte] Error during component init: <Person>
zodern_melte.js DOMException: Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node.
Steps to reproduce:
git clone https://github.com/qnipp/meteor-svelte-tracker-ssr-example
cd meteor-svelte-tracker-ssr-example; meteor update
Some warnings at this point, install suggested dependencies:meteor npm install --save svelte@3.27.0 @babel/runtime
Working with full reload needed. Now trying to get HRM to work:meteor add hot-module-replacement
Still makes a reload. Adding this package:meteor add zodern:melte
and swapsvelte:compiler
withzodern:melte
in.meteor/packages
.Now when I make a change, an error is thrown in browser console: