jxnblk / mdx-deck

♠️ React MDX-based presentation decks

Home Page:https://mdx-deck.jxnblk.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

domvo opened this issue · comments

commented

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.

commented

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

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

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)

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

I have the same problem.

same problem

Same problem

Same issue here. Abandonware?

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!