-
Notifications
You must be signed in to change notification settings - Fork 27
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
Convert Styleguidist's initialState/setState to React's useState hook in docs #325
Comments
Hi @vine77 I can do this - are these docs in the readme? |
Thanks @trybick! This would be the docs for each component that use Styleguidist's initialState/setState. We have *.md Markdown files in the same folder as each component that include fenced code blocks, which get rendered into live editable examples in the docs. This search of *.md component docs files that have |
Sounds good, ty for the info, will do. |
I think it might be better if this was broken into multiple Issues, one for each component because the PR #334 is pretty big and there are syntax issues with it. It's tedious to fix them because there's no IDE syntax support in the MD files (at least that I've seen). I'm going to stop working on this, but the branch is started for someone else to complete if they want. What's remaining is the fix the syntax issues by running the app and addressing the errors in the console. |
Remove usage of Styleguidist's initialState/setState/state and replace with React’s useState hook instead. (This will be required when we upgrade to Styleguidist 11.) For example:
The text was updated successfully, but these errors were encountered: