kilkelly / react-passport-redux-example

Demonstration of PassportJS authentication in React w/ Redux.
MIT License
66 stars 12 forks source link

html #1

Closed rajasekaranmcait closed 6 years ago

rajasekaranmcait commented 8 years ago

awesome project..hatts of you for this project i am using now..in this project i want to render DOM via UI library in html..so how to create main html file for render?!

kilkelly commented 8 years ago

Hi there, I'm wondering why you need to use a UI library when you can accomplish so much of the same functionality using React?

Which UI library are you using?

rajasekaranmcait commented 8 years ago

commonly most of them searching where is UI library from html file for rendering..so as per the way just i am searching where is html file..after that only i got it from index.js through devStart.js, but i know its not a mandatory one and also its not an issue..thank u for ur valuable reply kilkelly

rajasekaranmcait commented 8 years ago

Hi Kilkelly thank u for ur reply..its my doubt only..its not an issue actually.. commonly most of them searching where is UI library from html file for rendering..so as per the way just i am searching where is html file..after that only i got it from index.js through devStart.js, but i know its not a mandatory one.. i am eagerly learning react now..it may be difficult for starters to understand for me this..

Thanks & Regards, Rajasekaran

On Tue, Jul 26, 2016 at 10:17 PM, Frank Kilkelly notifications@github.com wrote:

Hi there, I'm wondering why you need to use a UI library when you can accomplish so much of the same functionality using React?

Which UI library are you using?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/kilkelly/react-passport-redux-example/issues/1#issuecomment-235330088, or mute the thread https://github.com/notifications/unsubscribe-auth/ARaK2x9J1QSFdLaQGUqLp80fadFd6G9Fks5qZjoUgaJpZM4JT9PF .

kilkelly commented 8 years ago

I think I understand now. The HTML used during rendering is in /src/server/index.js https://github.com/kilkelly/react-passport-redux-example/blob/master/src/server/index.js#L67-L85

You can add links to any UI libraries you wish to use into this HTML and they should work fine. Just don't touch this line of HTML as it is important for rendering:

<div id="app"></div>

i am eagerly learning react now..

I am learning also Rajasekaran. Learn a small bit everyday and in a few months you can look back at your old code and see how much better your new code is :) Kind regards!

rajasekaranmcait commented 8 years ago

Yeah sure Kilkelly..You are right what you say..i feel day by day improved my learning surely.. I want one more help from you if you possible means.. I did a project for user authentication(login&register) using

This same project i want to do in React from angular(dont use angular now). Thats why i trying to refer your this project, but i can't :'( Need to do in react without redux.. pls help me in reactjs..

my github project repo is :

https://github.com/rajasekaranmcait/user-login-authentication

Thanks & Regards, Rajasekaran

On Wed, Jul 27, 2016 at 2:13 AM, Frank Kilkelly notifications@github.com wrote:

I think I understand now. The HTML used during rendering is in /src/server/index.js

https://github.com/kilkelly/react-passport-redux-example/blob/master/src/server/index.js#L67-L85

You can add links to any UI libraries you wish to use into this HTML and they should work fine. Just don't touch this line of HTML as it is important for rendering:

i am eagerly learning react now..

I am learning also Rajasekaran. Learn a small bit everyday and in a few months you can look back at your old code and see how much better your new code is :) Kind regards!

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/kilkelly/react-passport-redux-example/issues/1#issuecomment-235399010, or mute the thread https://github.com/notifications/unsubscribe-auth/ARaK2yJCH_J0Dvok0dRbmzjSeGIwGPi1ks5qZnFkgaJpZM4JT9PF .