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

Interactive tutorials have inconsistent JavaScript errors #2869

Open
mDuo13 opened this issue Nov 27, 2024 · 0 comments
Open

Interactive tutorials have inconsistent JavaScript errors #2869

mDuo13 opened this issue Nov 27, 2024 · 0 comments
Labels
bug Typo or other small documentation error redocly Issues with the Redocly toolchain

Comments

@mDuo13
Copy link
Collaborator

mDuo13 commented Nov 27, 2024

This appears to be a continuation or a resurfacing of a bug that happened during the initial Redocly migration.

The interactive tutorials need to load custom JavaScript (per tutorial) as well as some dependencies like xrpl.js and maybe jQuery. It appears that sometimes React does not load these in the correct order, so on any given page load it sometimes the interactive tutorials might work, or they might not. If they don't, they'll post error messages to the console such as Uncaught Error: Minified React error #418 or Uncaught Error: Minified React error #422.

We used to have this working, I think, but I don't remember what the fix and I'm not sure when the problem reoccurred. It seems likely to have been the result of a Redocly upgrade since we haven't touched the old interactive tutorials since migrating.

Related: #2851.

@mDuo13 mDuo13 added bug Typo or other small documentation error redocly Issues with the Redocly toolchain labels Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Typo or other small documentation error redocly Issues with the Redocly toolchain
Projects
None yet
Development

No branches or pull requests

2 participants
@mDuo13 and others