question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Hey guys!

I’ve been working on a HMR implementation this summer, building upon the one for v2 in svelte-loader (my clone, demo).

It supports svelte-native (demo) and works in Sapper + Webpack (where I’ve been using it the most).

I’ve also just added support for Nollup (plugin, demo). (Would love to do Sapper + Nollup.)

I haven’t got much feedback yet, but I run a small test suite on it (with Puppeteer) and it seems to support about every feature of Svelte that I know (apart from transitions maybe, haven’t really tested them yet). With Nollup, it has delicious error resilience!

What’s the catch? It runs on emulated dev hooks that mess a little bit with the private $$ API. But a few more utilities like $capture_state / $inject_state could address this. There’s not so much needed. In essence, it’s just hooking on components’ m and d, and transferring callbacks, bounds, $$slots and context.

So, what do you think? Are you interested in moving this forward?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:41
  • Comments:14 (8 by maintainers)

github_iconTop GitHub Comments

28reactions
ZaDarkSidecommented, Sep 27, 2020

Well for me this feature seams to be stuck in development hell, people really need it to be productive…

15reactions
rixocommented, Dec 20, 2019

Update: I’ve put the links to all my HMR related projects (plugins, templates) in this readme. If you want to try HMR before official support, your best place to start is there.

If you need help with getting started, you’re welcome to drop me a line on Discord or issue (report HMR issues there, not here, since it is not officially supported currently).

Read more comments on GitHub >

github_iconTop Results From Across the Web

Weight Loss Plans - Join at Home or In Person | HMR Program
Follow our diet program at home or in person at one of our local weight-loss clinics. Find the plan that works best for...
Read more >
HMR Program | U.S. News Best Diets
The HMR (Health Management Resources) Program is a comprehensive weight-loss and lifestyle change program with two phases.
Read more >
What to Know About the HMR Program for Weight Loss
The Health Management Resources Program, better known as the HMR Program, is a pre-packaged food plan created about 30 years ago by Dr....
Read more >
The HMR Diet: Weight Management Plan Reviews, Cost ...
It is a low-calorie diet, which is defined as 1,200 to 1,400 calories, and combines portion-controlled HMR shakes and entrées with fruits and ......
Read more >
A 7-Day HMR Diet Plan for Beginners - DMoose
The Health Management Resources Program (HMR) is a calorie-reduction and lifestyle-change program that uses fruits and vegetables to substitute ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found