684 comments found.
Direct me to connect my thema straight to firebase not just in authentication
Hello,
Unfortunately the theme does not contain a certain way to connect Firebase for all the services and we can not provide guidance for it. You will need to build up the services for your needs and connect to them from the theme.
Kind Regars.
Please send me the Gogo-React-Start-With-Auth I was expecting that.
Thanks
Hi,
We will include it again, update the project and get back to you as fast as we can.
Cheers.
Hello,
Please download the item again to get Gogo-React-Start-With-Auth project. We have added it back.
Sorry for the inconvenience.
Thank you very much.
You’re welcome 
Your docs state “The theme comes with 3 separate projects. Gogo-React, Gogo-React-Start, Gogo-React-Start-With-Auth.” But I only got 2 and did not get Gogo-React-Start-With-Auth.
Hello,
We have decided to remove Gogo-React-Start-With-Auth but have not updated the docs. If you need an empty project with authorization, you may reach us from the contact form at our profile page so we can email you the project.
Kind Regards.
Hello,
Please download the item again to get Gogo-React-Start-With-Auth project. We have added it back.
Sorry for the inconvenience.
Hey, great work on the templates. Very nice and clean!
However, I’m having some issue while installing. As below:
npm WARN typescript-eslint/<redpre#0> requires a peer of eslint5.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN typescript-eslint/<redpre#1> requires a peer of eslint5.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN acorn-jsx@5.0.1 requires a peer of acorn@6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-google-maps@9.4.5 requires a peer of types/googlemaps3.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-google-maps@9.4.5 requires a peer of types/markerclustererplus^2.1.29 but none is installed. You must install peer dependencies yourself.
npm WARN ts-pnp@1.1.2 requires a peer of typescript@* but none is installed. You must install peer dependencies yourself.
npm WARN tsutils@3.17.1 requires a peer of typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta but none is installed. You must install peer dependencies yourself.
npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! grpc@1.20.0 install: `node-pre-gyp install—fallback-to-build—library=static_library` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the grpc@1.20.0 install script.
I’ve tried to install each and everyone of them but it still didn’t work for me. Any pointer would be much appreciated!
Hi,
There are two possible solutions that I can think of.
1. Make sure you have 10.16.3 LTS version of nodejs.
2. Remove package-lock.json file and node_modules and try installing again.
Please let us know if any of them does not solve the problem.
Also, thanks for your nice comments 
Yay! Thanks for your awesome pointer. It works perfectly now! ✌
Nice, happy to help 
Doing “react-scripts build” on “Gogo-React-Start” yields the following error:
./node_modules/reactstrap/dist/reactstrap.es.js EXEC : Attempted import error : ‘Arrow’ is not exported from ‘react-popper’.
Please can you let me know the exact version of reactstrap that is compatible and builds with this theme?
I have tried latest but that causes other issues.
Hello,
Sorry for the problem. Have you tried downloading the latest version of Gogo and build. We have not experienced any problem with it.
If you don’t want to download the latest one, please let me know your Gogo version so I may look into it.
Thanks, its the latest version. Its a very odd one. Works locally but not on azure dev ops build agent. No idea what environment issue would just cause the above error but I have found a workaround.
It is nice to hear that you have sorted it out since nobody in our team has any experience with deployment on Azure.
Project is not working on production mode.
Hi,
The preview is a production build and works as expected: https://gogo-react.coloredstrategies.com
It would be helpful if you provide details about the problem you have. Does build process have problem, or is it on the deployment. Let us know please.
When ı change the BrowserRouter as Router => MemoryRouter as Router in production mode is problem solved but when i use the default code production mode is not opening its showing white screen. i think there is a problem with base url because program cant find any doc.
84.428c36b3.chunk.js:1 DOMException: Failed to execute ‘replaceState’ on ‘History’: A history state object with URL ‘file:///error’ cannot be created in a document with origin ‘null’ and URL ‘file:///Users/brkrtp/Desktop/electron/build/index.html’. at file:///Users/brkrtp/Desktop/electron/build/static/js/85.00dd2c09.chunk.js:1:33461 at Object.confirmTransitionTo (file:///Users/brkrtp/Desktop/electron/build/static/js/85.00dd2c09.chunk.js:1:30861) at Object.replace (file:///Users/brkrtp/Desktop/electron/build/static/js/85.00dd2c09.chunk.js:1:33370) at t.perform (file:///Users/brkrtp/Desktop/electron/build/static/js/85.00dd2c09.chunk.js:1:2622) at t.componentDidMount (file:///Users/brkrtp/Desktop/electron/build/static/js/85.00dd2c09.chunk.js:1:2107) at file:///Users/brkrtp/Desktop/electron/build/static/js/84.428c36b3.chunk.js:1:226427 at t.unstable_runWithPriority (file:///Users/brkrtp/Desktop/electron/build/static/js/84.428c36b3.chunk.js:1:247483) at ci (file:///Users/brkrtp/Desktop/electron/build/static/js/84.428c36b3.chunk.js:1:172768) at Bs (file:///Users/brkrtp/Desktop/electron/build/static/js/84.428c36b3.chunk.js:1:222501) at xs (file:///Users/brkrtp/Desktop/electron/build/static/js/84.428c36b3.chunk.js:1:211138) xa @ 84.428c36b3.chunk.js:1 84.428c36b3.chunk.js:1 Uncaught DOMException: Failed to execute ‘replaceState’ on ‘History’: A history state object with URL ‘file:///error’ cannot be created in a document with origin ‘null’ and URL ‘file:///Users/brkrtp/Desktop/electron/build/index.html’. at file:///Users/brkrtp/Desktop/electron/build/static/js/85.00dd2c09.chunk.js:1:33461 at Object.confirmTransitionTo (file:///Users/brkrtp/Desktop/electron/build/static/js/85.00dd2c09.chunk.js:1:30861) at Object.replace (file:///Users/brkrtp/Desktop/electron/build/static/js/85.00dd2c09.chunk.js:1:33370) at t.perform (file:///Users/brkrtp/Desktop/electron/build/static/js/85.00dd2c09.chunk.js:1:2622) at t.componentDidMount (file:///Users/brkrtp/Desktop/electron/build/static/js/85.00dd2c09.chunk.js:1:2107) at file:///Users/brkrtp/Desktop/electron/build/static/js/84.428c36b3.chunk.js:1:226427 at t.unstable_runWithPriority (file:///Users/brkrtp/Desktop/electron/build/static/js/84.428c36b3.chunk.js:1:247483) at ci (file:///Users/brkrtp/Desktop/electron/build/static/js/84.428c36b3.chunk.js:1:172768) at Bs (file:///Users/brkrtp/Desktop/electron/build/static/js/84.428c36b3.chunk.js:1:222501) at xs (file:///Users/brkrtp/Desktop/electron/build/static/js/84.428c36b3.chunk.js:1:211138)
Hi,
The error screenshot contains paths like file:// and your server trying to reach local files like that might be the issue. You may try “serve” to tell apart if the problem is with prod build or your server configuration. Here is how to install and use it:
In your project root, please run below commands to install serve package and run the build
npm install -g serve
serve -s build
One other thing that I think that you might be deploying the build in a folder like http://localhost/gogo-test. This is not recommended way to deploy CRA apps and might need lots of configurations. Using ports and subdomains are the right ways to do.
Let us know if the problem are not related to any of these.
Its okey, its working now (in http://localhost:5000) but where is the build folder?
It should be on build folder at project root.
After the npx serve -s build, build folder index.html its still same error. but localhost:5000 its working
I am a little bit confused about the problem.
You run serve and it serves the build folder at localhost:5000 and it is working fine I guess.
What is it to do with index.html file. You are not trying to use the file directly from file system and run it via browser I suppose?
I open direcly browser, its not working if im open localhost 5000 its working, but ı send to this file hosting, if its direcly not working how its working on hosting
Well, running the file directly from file system will not work because it has relative paths and browser does not allow history operations for security reasons.
It should work on a hosting server if it is working on your local server.
What about electron, ı want to run it with electron
You will need to look into it yourself since nobody has any experience with Electron in our team.
-
Hello. I wanted to buy your template, but it is late already. Discount was active till August, 20… I want discount. )
Daaaamn, discount price was 18$ )) Normal is 28… It was not obvious…
If only you could answer earlier, I would buy the template…
Hello,
Sorry to hear that you have missed the sale. I don’t know when will the next event take place but we try to enlist our items for these campaings frequently so you may catch it on a future sale.
Kind Regards.
Is it possible to use some coupon for getting discount and previous price (18$)?
No, Envato does not have coupon discounts.
Hello, I have a question about what is a good way to update the version of your theme in my project. Because I’ve already customised some file of the theme.
thank you
Hi,
Unfortunately, this is one solid problem that we don’t have an answer yet.
With the upgrades we are doing some work, fixing bugs here and there and shifting the project like you do. The template is more like an implementation rather than a library so we are not able to provide a simple/auto way to update.
I hope you understand.
Regards.
Alright, thank you for your answer.
One more question, I’ve used you ReactAutosuggest Component and set it’s value to one value in the state, when the state value change, the value which should display on ReactAutosuggest didn’t change either. what should I do?
Here’s my sample code:
<ReactAutosuggest id=”name” value={this.state.inputProduct.name} data = {nameSuggestionData} onChange = {this.handleChangeNameLabelOver} />
then did this
inputProduct.code = codeLabelOver inputProduct.name = nameLabelOver this.setState({ inputProduct: inputProduct }
but the ReactAutosuggest UI still the same didn’t display new value of the state
thank you
ReactAutosuggest component is our implementation for Autosuggest and we have missed the default value part.
You may get it working by updating ReactAutosuggest to respond prop changes by following code. I don’t know the version you have but it should be located here: “src/components/common/ReactAutoSuggest”
Changing value: ”” to value: this.props.value
constructor(props) {
super(props);
this.state = {
value: this.props.value,
suggestions: [],
data: this.props.data || []
};
}
Adding getDerivedStateFromProps which is the replacement lifecycle hook for componentWillReceiveProps. You may add below lines just after the constructor.
static getDerivedStateFromProps(props, state) {
return {value: props.value}
}
Let us know if this does not solve the problem.
Yes, It works
Thank you
You are welcome 
Hello,
One more problem from me, I worked on DatePicker when I’ve selected any date the picker was not close like it’s should be. I have to click outside the picker to close it.
How can I do if I want it to close automatically after selecting a date?
Hi,
As you may see the example at “src/containers/forms/DatePickerExamples.js” it should auto close itself unless below parameter is not set.
shouldCloseOnSelect={false}
You may also try it with the parameter to set to true.
I’ve tried set shouldCloseOnSelect={true} but It didn’t work
my DatePicker look like this <DatePicker selected={this.state.date} onChange={this.handleChangeDate} shouldCloseOnSelect={true} placeholderText={this.setState.currentDate} name=”date” />
Hi,
I have added your date picker and it works without a problem.
Please check http://localhost:3000/app/ui/forms/components on your project.
Also problem might be related to lightbox if you use it in a modal.
Yes, I used it in a modal. Do you wanna see my code file?
I just tried it with a modal and it works as expected.
Please share your code so we may look into it.
sorry to bother you, here’s url to download my file https://we.tl/t-yoagC90xiE please look into it.
thank you so much
Hi,
Problem seems to be about putting datepicker in a label. Using div instead of label as a container solves the problem.
<div classname="form-group has-float-label">
<DatePicker
selected={this.state.startDate}
onChange={this.handleChangeDate}
placeholderText={this.setState.currentDate}
name="date"/>
<IntlMessages id="consignment-order.date" />
</div>
As a side note, placeholderText assignment does not look right
placeholderText={this.setState.currentDate}
Hi, We purchased the React template, but will not end up using this. I wonder if there any refund available for this. Thanks
Hi,
Sorry to hear that but unfortunately accidental purchases or changing mind about item are not valid reasons for refund.
You may check here for the details: https://themeforest.net/page/customer_refund_policyRegards.
Hi i connot install in my computer MacBook Pro after the npm install && npm start ı got this error message
./src/assets/css/sass/themes/gogo.dark.blue.scss (./node_modules/css-loader/dist/cjs.js??ref-Hi,
Please make sure you are using Nodejs v10.16.x.
The problem might also be about node-sass version, so please remove node_modules folder and package-lock.json file. Then, please change the node-sass version at package.json file to exact version by removing the carat(^). “node-sass”: “4.11.0”
Let us know if this does not help.
Can you please send to me landing page?
Hi,
Last version contains the landing page is 2.0.4. If you are interested please reach us from the contact form at our profile page so we can provide you the link.
https://themeforest.net/user/coloredstrategiesCheers.
I want to remove firebase authentication and need to use custom API for it.
Here is my working code for API:
axios.post(apiPath+’verifyLogin’, values) .then(function (response) { this.setState(values); console.log(this.state); console.log(response.data.success.token); localStorage.setItem(“token”, response.data.success.token); this.props.loginUser(this.state, this.props.history); }.bind(this)) .catch(function (error) { console.log(error); });
It gives me error this.props is undefined, can you help me on it? I am new to react.
Hi,
this.props undefined error usally happanes when the method it called is not binded. If your code is in a method named onClick, then you should bind it in the construtor. this.onClick = this.onClick.bind(this);
Let us know if the problem is not about this.
I am already binding it. Here is my full login.js file:
import React, { Component } from “react”; import { Row, Card, CardTitle, Label, Button } from “reactstrap”; import { NavLink } from “react-router-dom”; import { connect } from “react-redux”; import { Formik, Form, Field } from ‘formik’;
import { loginUser } from ”../../redux/actions”; import { Colxx } from ”../../components/common/CustomBootstrap”; import IntlMessages from ”../../helpers/IntlMessages”; import { apiPath } from ”../../constants/defaultValues”; const axios = require(‘axios’);
class Login extends Component { constructor(props) { super(props); this.state = { email: ””, password: ”” }; this.validate = this.validate.bind(this); this.handleSubmit = this.handleSubmit.bind(this); } onUserLogin() { if (this.state.email !== ”” && this.state.password !== ””) { this.props.loginUser(this.state, this.props.history); } } handleSubmit(values) { console.log(values); axios.post(apiPath+’verifyLogin’, values) .then(function (response) { this.setState(values); console.log(this.state); console.log(response.data.success.token); localStorage.setItem(“token”, response.data.success.token); this.props.loginUser(this.state, this.props.history); }.bind(this)) .catch(function (error) { console.log(error); }); } } const mapStateToProps = ({ authUser }) => { const { user, loading } = authUser; return { user, loading }; };
validate(values) {
let errors = {};
if (!values.email) {
errors.email = 'Please enter your email address';
} else if (!/^[A-Z0-9._%]@[A-Z0-9.]+\.[A-Z]{2,4}$/i.test(values.email)) {
errors.email = 'Invalid email address';
}
}
if (!values.password) {
errors.password = 'Please enter your password';
}
return errors;
render() {
return (
<Row className="h-100">
<Colxx xxs="12" md="10" className="mx-auto my-auto">
<Card className="auth-card">
MAGIC IS IN THE DETAILS
Please use your credentials to login.
If you are not a member, please{" "}
<NavLink to={`/register`} className="white">
register
</NavLink>
.
<NavLink to={`/`} className="white">
</NavLink>
<CardTitle className="mb-4">
<IntlMessages id="user.login-title" />
</CardTitle>
<Formik
validate={this.validate}
initialValues={{
email: '',
password: '',
}}
onSubmit={this.handleSubmit}>
{({ errors, touched, isValidating }) => (
<Form>
<Label className="form-group has-float-label mb-4">
<Field className="form-control" name="email" />
{errors.email && touched.email && {errors.email} }
<IntlMessages id="user.email" />
</Label>
<Label className="form-group has-float-label mb-4">
<Field className="form-control" name="password" type="password" />
{errors.password && touched.password && {errors.password} }
<IntlMessages
id="user.password"
/>
</Label>
<NavLink to={`/forgot-password`}>
<IntlMessages id="user.forgot-password-question" />
</NavLink>
<Button
color="primary"
className="btn-shadow"
size="lg"
type="submit"
>
<IntlMessages id="user.login-button" />
</Button>
</Form>
)}
</Formik>
</Card>
</Colxx>
</Row>
);
}
export default connect( mapStateToProps, { loginUser } )(Login);
If you are getting the error in handleSubmit function after ajax request in “then”, you might be losing context for “this”. You may check if this is the problem by logging this.props outside and inside of then.
handleSubmit(values) {
console.log(this.props);
axios.post(apiPath+’verifyLogin’, values) .then(function (response) {
console.log(this.props);
})
}
If this is the problem, you may solve it by using arrow function in then and removing the binding before catch.
then((response) => { })
Let us know if the problem is not about this.
Thanks it solved this.props issue. But still it’s not redicted to the dashboard. And how i can use oAuth instead of fire base?
You should check redux part of the project. The file is “src/redux/auth/saga.js”. As you may see, this file has “loginWithEmailPassword” function which is called from “onUserLogin” at login view.
You should include your api call in “loginWithEmailPasswordAsync” function instead of from Firebase’s “auth” method.
You may also update logout and register functions at this file.
Best.
Thanks for the quick solution, but it’s not redirecting to the dashboard. Here is update code in my auth/saga.js file:
import { apiPath } from ”../../constants/defaultValues”; const axios = require(‘axios’);
function loginWithEmailPassword({ payload }) { const { email, password } = payload.user; const { history } = payload; try { axios.post(apiPath+’verifyLogin’, { ‘email’: email, ‘password’: password}) .then((response) => { history.push(’/’); }) .catch(function (error) { console.log(error); }); } catch (error) { console.log(‘login error : ’, error) } }
Please make sure your code works fine and reaches to “then”. “history.push(’/’);” makes the redirect so checking if the history is available also can provide some information.
It’s reaching to the “then”, still it’s not working.
I had updated the local storage value in “then” and it’s working fine. See the below code:
function loginWithEmailPassword({ payload }) { const { email, password } = payload.user; const { history } = payload; try { axios.post(apiPath+’verifyLogin’, { ‘email’: email, ‘password’: password}) .then((response) => { localStorage.setItem(“token”, response.data.success.token); localStorage.setItem(“user_data”, response.data.userData); history.push(’/’); }) .catch(function (error) { console.log(error); }); } catch (error) { console.log(‘login error : ’, error) } }
FYI, login.js file
handleSubmit(values) { this.props.loginUser(values, this.props.history); }
and handleSubmit() function is called in constructor() as “this.handleSubmit = this.handleSubmit.bind(this);”
I understand correctly it’s now working, then that’s nice 
Hello, I’ve been trying to make an audit and get this result:
Hi,
I am not very experienced with lighthouse so I can’t provide a solution but I noticed that only audits without throttle works. I am not sure if it is about React or page load but if you are interested here is the one with no-throttle and desktop: https://i.ibb.co/7n576j3/no-throttle.jpg
Cheers.
Hi~
I really love your template,but your “Applications” and “UI” are fewer than other template.
Do you have any plan to enrich your “Applications” and “UI”?
thank you ^^
Hi,
Thank you for your interest in our template.
As for your question, we have decided to build every plugin on top of Bootstrap and not to include another ui library like Ant design or Material Ui to make it clean and make the prod size reasonable.
We often make additions and currently working on new pages and a form wizard.
Cheers.
Oh ya^^
I am looking forward to your update.
Hi,
We have completed implementation of the wizard as well as some other pages. Might be late for your current project but just wanted to let you know.
Cheers.
Hi,
We have downloaded the template. Unfortunetly, it doesnt have all the assocated files and templates. There are no HTML files in the downloaded folder.
Could you please check and send us download link asap.
Hi,
Gogo is a React template so it does not contain individual html files. It has a single html file under public folder and rest is done by javascript.
Regards.
Will the gogo template be upgraded synchronously with the version of react? I saw some coding specifications related to the new version of the react hooks. Is there such a plan?
Hi,
We are currently working on an update contains of new plugins and pages. After this update is done we will work on platform updates like React and Reactstrap.
Cheers.
Will it also handle some deprecated lifecycle functions? I am also very excited about this, I tried to extend the license.
Yes we have updated to latest for both React & Reactstrap and cleaned deprecated methods from our code. There was about 10 usage and most of them was willmount. Also updated external plugins but some of them still has old methods. Major ones are React Tables and React Chartjs. We will ship this update in couple of days but will be watching these plugins and updating when needed.
Hi,
I have purchased the react theme which I want to run by a designer first for some minor adjustment to the layout.
How could we use the files with Sketch or other designers’ tools?
The downloaded file does not contain a page with all components which is necessary for UI designers to work.
Hi,
Just answered your email.
Best.
I want to purchase an admin dashboard theme build using React. My main use case is mobile site. Your theme seems impressive but I have few queries and they are – 1. Are you using jQuery – If yes – which version and which libraries? 2. Which version of the React are you using?
Hi,
Thank you for your interest in our template.
As for your questions,
1- It does not contain any jQuery code or plugin.
2- Current React version is ^16.8.6
Cheers.
I’m using redux-saga, when I login, how can I dispatch and action to change location?
Hi,
You may check loginWithEmailPassword function in src/redux/auth/saga.js file. You may reach history with its payload and do a history.push(”/”). You may find several examples for this usage throughout the project.
Cheers.