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

[📖]Image Optimization Misguide #7021

Open
binmalyi opened this issue Oct 30, 2024 · 0 comments
Open

[📖]Image Optimization Misguide #7021

binmalyi opened this issue Oct 30, 2024 · 0 comments
Labels
COMP: docs Improvements or additions to documentation STATUS-1: needs triage New issue which needs to be triaged

Comments

@binmalyi
Copy link

Suggestion

Visit Image Optimization section and you'll encounter this code:

import Image from '[IMAGE_PATH]??w=24&h=24&jsx';

which actually doesn't work due to double question marks instead of single:

import Image from '[IMAGE_PATH]?w=24&h=24&jsx';

I would also like to suggest adding a notice to denote what some things mean, especially to fresh beginners like what the square brackets in the above code denotes to make it easier to understand as well as fix these minor issues.

@binmalyi binmalyi added COMP: docs Improvements or additions to documentation STATUS-1: needs triage New issue which needs to be triaged labels Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
COMP: docs Improvements or additions to documentation STATUS-1: needs triage New issue which needs to be triaged
Projects
None yet
Development

No branches or pull requests

1 participant