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

JSX Babel install instructions unclear #29

Open
Elijer opened this issue Aug 6, 2020 · 9 comments
Open

JSX Babel install instructions unclear #29

Elijer opened this issue Aug 6, 2020 · 9 comments
Assignees
Labels
documentation Improvements or additions to documentation help wanted Extra attention is needed

Comments

@Elijer
Copy link

Elijer commented Aug 6, 2020

I'm not totally sure why there is a JSX tab in the docs but I really appreciate it (would like to know the thinking on that), as I want to use it.

However, there's this statement:

"This is the installation command suggested by Babel’s official manual. If you take a close look, you will find that there are actually four packages being installed, three as development dependency and one as production dependency."

Which is not helpful. I've read these sentences over several times and I can't figure it out -- which one of the 4 packages is a production dependency??? And also with the current syntax, aren't they all being installed as dev dependencies, not just 3?

Second-to-lastly, when I run this command, it doesn't work.

Lastly, there is no link as to what part of the Babel documentation to help me out in investigating this.

@Elijer Elijer changed the title JSX Babel install instructions JSX Babel install instructions unclear Aug 6, 2020
@Elijer
Copy link
Author

Elijer commented Aug 6, 2020

The fact that the command included doesn't work might have to do with whitespace or something invisible. I copied the command again, but this time deleted the "---save-dev" part and it ran.

But this command still leaves the question: if I look closely, WHICH MODULE is a production module?

@pakastin
Copy link
Member

pakastin commented Aug 6, 2020

@mauroreisvieira could you help out with this?

@pakastin pakastin added documentation Improvements or additions to documentation help wanted Extra attention is needed labels Aug 6, 2020
@mauroreisvieira
Copy link
Member

@Elijer thanks for your report, I will check ASAP.

@Elijer
Copy link
Author

Elijer commented Aug 9, 2020 via email

@mauroreisvieira
Copy link
Member

Hi @Elijer, can you check https://redom.js.org/#jsx if it's more clear now?

@Elijer
Copy link
Author

Elijer commented Aug 12, 2020 via email

@mauroreisvieira
Copy link
Member

Thanks @Elijer for you fast answer, please let me know if the instructions are clear and work 100% for you, since it's your first time with Babel.

I'm waiting for feedback, and thanks for your report and for using RE:DOM!

@Elijer
Copy link
Author

Elijer commented Aug 25, 2021 via email

@Elijer
Copy link
Author

Elijer commented Aug 25, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants