Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
domvo opened this issue Sep 9, 2020 · 10 comments

Comments

@domvo
Copy link

domvo commented Sep 9, 2020

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.

@brekk
Copy link

brekk commented Sep 16, 2020

@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.

@pfeilbr
Copy link

pfeilbr commented Sep 28, 2020

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

@marioy47
Copy link

marioy47 commented Oct 5, 2020

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)

@larswittenberg
Copy link

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

@paulkre
Copy link

paulkre commented Oct 24, 2020

I have the same problem.

@rebeccapeltz
Copy link

same problem

@masiucd
Copy link

masiucd commented May 3, 2021

Same for me

@russiann
Copy link

Same problem

@kevinrodriguez-io
Copy link

Same issue here. Abandonware?

@rbalicki2
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests