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

Have website with HTML to JSX conversion here #52

Closed
zpao opened this Issue Feb 25, 2016 · 6 comments

Comments

Projects
None yet
3 participants
@zpao
Member

zpao commented Feb 25, 2016

I don't want https://facebook.github.io/react/html-jsx.html on our site anymore. It uses this project exclusively so this project should just host it's own site.

@Daniel15

This comment has been minimized.

Member

Daniel15 commented Feb 25, 2016

I can move it over, but why don't you want it on the React site any more?

@zpao

This comment has been minimized.

Member

zpao commented Feb 25, 2016

It's not something we're spending any time thinking about or supporting so it feel disingenuous to have there in our official site.

@Daniel15

This comment has been minimized.

Member

Daniel15 commented Feb 26, 2016

Thanks, that makes sense. Can we redirect the old URL to the new one (once it's available)? I know Github Pages is super basic and doesn't allow proper 301 redirects, but we could at least have a meta redirect or something like that.

@zpao

This comment has been minimized.

Member

zpao commented Feb 26, 2016

Yea, we'd definitely set up the redirect. I know the pains :) We have a few other pages that we're already redirecting

Daniel15 added a commit that referenced this issue Apr 25, 2016

Daniel15 added a commit to Daniel15/react that referenced this issue Apr 25, 2016

@Daniel15

This comment has been minimized.

Member

Daniel15 commented Apr 25, 2016

The new page is at http://magic.reactjs.net/htmltojsx.htm. Currently it hotlinks some files from the React site (stylesheet and live code editor) but I'm planning on making it properly standalone soon.

Submitted facebook/react#6608 to update the React site to reflect this.

@Daniel15 Daniel15 closed this Apr 25, 2016

zpao added a commit to facebook/react that referenced this issue May 31, 2016

@trusktr

This comment has been minimized.

trusktr commented Aug 2, 2017

Hey guys, maybe Facebook designers are all developers?

But for HTML/CSS designers, having to open up React JSX files and wade through JavaScript just to work on design is a bit impeding.

See #137 for examples on why things like Angular and Vue make designer lives easier, and by inference this tool could be used in a similar way to effectively add an HTML(with logic)-to-JSX conversion so designers can design and developers can develop, both sides collaborating, in a scalable way.

How does Facebook currently mitigate this problem? Or are designers at Facebook limited to graphical representations of their designs, after which developers must always update source code when graphical designs are changed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment