drabinowitz / react-isomorphic-app

An Isomorphic React/Flux app built from the React-Server-Example
MIT License
3 stars 0 forks source link

Doesn't work when javascript disabled #1

Open mshahriarinia opened 9 years ago

mshahriarinia commented 9 years ago

When you disable javascript in google chrome this example does not work. The button is disabled. The whole point of mutual server/client rendering is to get rid of dependency on javascript libraries loading. Any thoughts?

drabinowitz commented 9 years ago

Hmm. While I agree with the premise that isomorphic apps should have mutual server/client rendering I disagree with your claim that the example you brought up proves it does not. In a JavaScript disabled site that button isn't going to do anything anyway so it shouldn't be enabled in my opinion. I would rather the content be loaded and the links work, which they do in both cases, but clearly display to the user that the interactive elements of the site (such as buttons) are not going to function. In my opinion the Isomorphic app is totally successful in your example. What were you thinking the button would do in a JavaScript disabled site?

On Sun, May 17, 2015 at 12:04 AM, Morteza Shahriari Nia < notifications@github.com> wrote:

When you disable javascript in google chrome this example does not work. The button is disabled. The whole point of mutual server/client rendering is to get rid of dependency on javascript libraries loading. Any thoughts?

— Reply to this email directly or view it on GitHub https://github.com/drabinowitz/react-isomorphic-app/issues/1.