mdx-deck icon indicating copy to clipboard operation
mdx-deck copied to clipboard

Running mdx-deck <filename>.mdx constantly forces a repaint in the browser and the recreation of gatsby pages.

Open domvo opened this issue 3 years ago • 10 comments

When running mdx-deck <somefile>.mdx every second I get a set of messages in my terminal:

info added directory at /<path_to_project>/node_modules/mdx-deck/.cache/redux
info added directory at /<path_to_project>/node_modules/mdx-deck/.cache/redux
success building schema - 0.102s
success createPages - 0.002s
success Checking for changed pages - 0.001s
success update schema - 0.012s
success onPreExtractQueries - 0.001s
success extract queries from components - 0.014s
success write out requires - 0.002s

That itself is quite annoying already. But what's even worse is that my browser also repaints every second, which results in a noticeable flash. This is unacceptable for the creation of a slide deck.

I have a screen recording that shows the behavior: Link to screen recording (Streamable)

OS: Mac OS 10.15.5 Browser: Chrome v85 mdx-deck version 4.1.1

Steps to reproduce: Run mdx-deck or npm start in the project folder.

domvo avatar Sep 09 '20 10:09 domvo

@domvo I was experiencing the same thing. As a temporary workaround I was able to get things to work by downgrading to [email protected] instead, as the error is also present in the 4.1.0 (prior) release as well.

brekk avatar Sep 16 '20 09:09 brekk

i am experiencing same issue. macOS, version 4.1.1, chrome

pfeilbr avatar Sep 28 '20 20:09 pfeilbr

Had the same issue and downgrading to 4.0.0 solved it (had to remove the node_modules/ dir though).

Using MacOS 10.15.7 (Catalina) Node v14.12.0 Yarn 1.22.8 Brave browser Versión 1.14.84 Chromium: 85.0.4183.121 (Build oficial) (64 bits)

marioy47 avatar Oct 05 '20 13:10 marioy47

same here with: mdx-deck 4.1.1 macOS 10.15.7 node 14.7.0 yarn 1.22.5

larswittenberg avatar Oct 06 '20 15:10 larswittenberg

I have the same problem.

paulkre avatar Oct 24 '20 13:10 paulkre

same problem

rebeccapeltz avatar Feb 05 '21 19:02 rebeccapeltz

Same for me

masiucd avatar May 03 '21 05:05 masiucd

Same problem

russiann avatar May 29 '21 16:05 russiann

Same issue here. Abandonware?

kevinrodriguez-io avatar Nov 10 '22 08:11 kevinrodriguez-io

I'm able to solve this by moving my presentation into a folder and running mdx-deck presentation/presentation.mdx. It may cause other issues, as I'm having trouble getting any non-custom theme to show up. Oh well!

rbalicki2 avatar Feb 13 '24 04:02 rbalicki2