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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

using production react #61

Merged
merged 2 commits into from Jan 31, 2019
Merged

Conversation

gregology
Copy link
Contributor

I noticed this gem is using development react which is giving me this error

image

This page is using the development build of React. 馃毀

Note that the development build is not suitable for production. 
Make sure to use the production build before deployment.

Open the developer tools, and the React tab will appear to the right.

Is there a reason to use development react instead of production in this instance? If not, here's a quick PR to update it to the production 0.16.0 release.
Cheers Team!

@gregology
Copy link
Contributor Author

Hey @rmosolgo, maybe you have some insight into this? Cheers Mate!

@rmosolgo
Copy link
Owner

Hey! Sorry about this issue. There's no good reason to use the development version, but I think we need to update the build scripts too:

https://github.com/rmosolgo/graphiql-rails/blob/master/Rakefile#L14

That script bumps the graphiql version and its dependencies automatically. I think we should that too, or else the next update will put the development version in place 馃槚 . Want to give it a try?

updating rake and re updating GraphiQL & dependencies
@gregology
Copy link
Contributor Author

@rmosolgo, neat rake task! Done, do you want me to squash?

@rmosolgo
Copy link
Owner

Awesome, thanks!

@rmosolgo rmosolgo merged commit 29b1f1f into rmosolgo:master Jan 31, 2019
@rmosolgo
Copy link
Owner

馃殺 in 1.7.0!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants