bhauman / bhauman/devcards

Devcards not reloading when using code splitting

Open
#167 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Clojure
Stars
1.5k
Forks
106
PR merge metrics
No merged PRs in 30d

Description

Dear all,

I have problem when using code splitting and reach Suspense to lazy loading. I created demo project
https://github.com/rpofuk/sample-split-demo.

When I start in parallel:
```shadow-cljs watch app```
```shadow-cljs watch devcards```

And open in browser both:
http://127.0.0.1:8000/#
http://127.0.0.1:3001/#!/demo.sample

Then I make change in demo.components.product-listing

Change on :app is reloaded but in :devcards it is not.

Additionally, if I change part of code that is not lazily loaded then it refreshes. It is only about code that is inside Suspense that is not reloaded.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.