32 comments found.
Hello hexesis support,
I´ve bought right now your template Roe – ReactJS. One major reason for my decision was that you support React Hooks. But in the downloaded files I can only find a version with redux saga? Could you please tell me how does your Hooks support looks like and where I can find the templates for it?
My purchase code: b9673f8a-24cf-409e-a8d1-a813aedadf92
Thanks a lot, Fabian
I´m sorry I found it… Thanks for the great work.
Is there any way on the Login page to check if user is already logged in and if so redirect to the Home page?
Hey JackTheKnife,
Thanks for writing us,
In the src/routes we have one more files ProtectedRoute.jsx
In which what we have checked…If we have token in store and isLogin flag is true…then redirect to route other wise it shows login page.
For example,
If I request for localhost:3000 then it checks if token is available && isLogin true it automatically goes to dashboard otherwise throw login page.
Let us know, If you have any queries regarding this.
I’m looking at the case as going to http://localhost:3000/login when isLogin=true and then getting redirect to the dashboard. I have tried to add isLogin to the props on that page and check it then do push to the dashboard but then it throws an error that cannot render that page due data were set before.
OK, got it solved. I have used something like:
{!auth.isLogin ? (
<Fragment>
...login page HTML...
</Fragment>
)
: (<Redirect to={"/dashboard"} />
)};
Okay, JackTheKnife
Just check your other routes as well, are working fine or not.
Let us know if any queries.
Thank you
Hi, one suggestion, when add import use the correct path, for example:
Instead of: import PageTitle from ‘components/common/PageTitle’;
Use: import PageTitle from ’../components/common/PageTitle’;
One more thing in v3, when use yarn to install and error occur because “babel-loader”: “8.0.4”, is not in package.json
Hello renelhs,
Thank you for writing us,
We really appreciate your suggestions,
The purpose of using ‘components/common/PageTitle’ instead of ’../components/common/PageTitle’ is anybody can easily use components in any place of project otherwise what happen that each time you have to modify path when you use that component in project.
We will think on that and get reviews from others as well who are using ROE, so we can get more idea what they want actually.
About Yarn, We will fix it in v4, Thank You for giving feedback us.
Let us know, If you have more suggestions, queries or improvements we will take care of it.
Your dashboard looks nice and clean but I have two problems.
First – I’m not able to install your project. It throws an error: `Pre-built binaries not found for fsevents@1.2.4 and node@12.10.0`
Second – I went to Login Authentication part and there I can’t find any way (or example) connecting it to an external authentication API which outputs JWT
Updating react-scripts to 3.0.1 fixed first problem. Still trying to get second part to work as I’m new to Redux
Hey, JackTheKnife,
Thanks for writing us,
For second one, In the login component file you will see one login handler where you have to call Api for the login. and you have to store that token which is provided by Api and just pass that token in redux to store in client side for that we have already implemented flow just you have to focus on method which store token in redux.
There are two option for getting token 1) use any third party authentication library 2) simply call login api and get token from back end and in the back end we can use JWT, Passport or anything your need.
Simply Route authentication flow is ready in Roe. you have to just provide token to redux.
For more information please find login authentication flow in our offline documents you can see there files name and more details.
Let us know if you have any queries.
Thank you.
Hello,
we have problem using sidebar's links for mobile version of our web app on iOS devices.
The same problem is present inside yours demo using iPhone or iPad. The link of our web app is dok.badil.it
Can you help me? Thanks
Hello badilsrl,
Thanks for writing to us.
We will get back to you with solution very soon.
Hi Henley, news for me? thanks
Hello badilsrl,
Sorry for the late response.
We have Checked, we can’t regenerate the issue.
Can you give us Screen Recording and Iphon devices details. It will help us.
Thank for your support.
On iPhone open the link. Try to change the menu item
Solved. Thanks
Hello badilsrl,
We have resolved your concern in the new update we have just released.
Let us know If you have any queries,
Thank you.
HI,
I am developing an new application using react hook and using redux and saga for state management. So does this template contains the same structure or does it follow context api.
Thanks, Binu
HI binuedwin,
Thanks for writing us.
Yes, Roe Admin is based on hooks and redux. If your need to use saga then you have to install it.
Context Api is not compulsory for all so we have not implemented yet, but you can easily make it with your own structure if you want to use context api.
You will get ready mate flow of redux and hooks code with Roe. So you can integrate any extra library easily.
let us know if you have any query.
Thanks.
Congratulations!!! Nice Work, Good Luck With Sale 
Thank you so much 
Nice work, GLWS 
Thank you so much