Open jvsinghk opened 3 years ago
I would like to work on this can you assign this issue to me
Sure @devil-cyber. Let me know about your approach.
I think we can achive this bu using Express with babel and webpack. For our server code to work, we’ll need to bundle and transpile it, using webpack and Babel. To accomplish this. I am newbie to the world of react .
Great, go ahead try out. I think it will work.
Ok
On Fri, Oct 2, 2020, 11:53 PM Jasvinder Sabharwal notifications@github.com wrote:
Great, go ahead try out. I think it will work.
— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/jvsinghk/spacex/issues/7#issuecomment-702888090, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMPIV6UFX6REPUOMZUFJG6LSIYLBFANCNFSM4SB643YQ .
@devil-cyber are you working on this. If yes, you will have to fork this repo to make a remote copy of this on your profile. Then you can clone and commit to a new branch to open a pull request.
Yes i will start tomorrow, this time i am working on some other project
On Sat, Oct 3, 2020, 12:04 AM Jasvinder Sabharwal notifications@github.com wrote:
@devil-cyber https://github.com/devil-cyber are you working on this. If yes, you will have to fork this repo to make a remote copy of this on your profile. Then you can clone and commit to a new branch to open a pull request.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/jvsinghk/spacex/issues/7#issuecomment-702892959, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMPIV6RGZUNFQ67XH7T7GR3SIYMJVANCNFSM4SB643YQ .
Hey, is this issue still open ?
@setheal Hey, yes this issue is still open
Go ahed , sorry for late but I am admitted in hospital from last night
On Sat, Oct 3, 2020, 6:27 PM Jasvinder Sabharwal notifications@github.com wrote:
@devil-cyber https://github.com/devil-cyber are you planning to contribute to this today? Unassigned you because you haven't forked yet. This issue is open for contribution. @setheal https://github.com/setheal would you like to work on this?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/jvsinghk/spacex/issues/7#issuecomment-703099552, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMPIV6Q7K6ST4GXRW24SDR3SI4NTFANCNFSM4SB643YQ .
@devil-cyber no worries, sorry to hear that, take care brother. Hope you get well soon.
@setheal would you like to contribute to this issue?
@jvsinghk sure, I'll do it when I have a bit of time :)
@devil-cyber take care mate
@setheal Sure, let me know you want me to assign it to you.
@jvsinghk You can assign it to me if it still opened
Btw, do you need to add react-router
to the project ? I can make the server side configuration at the same time if needed
@setheal Sure, how are you planning to use react-router
in SpaceX?
@jvsinghk it's just to know if you want me to add the static router server side :) I already created my pr but don't hesitate to ask me in the future if you need help with the router :)
@setheal I have used react-router
in amazon-clone to add routes for different components. Here as it's the single page. I was wondering how you plan to make use of it here. Sure, can you help me understand this concept of static router server-side rendering? So, I would be able to add to my other application. I would like to learn about it.
@jvsinghk sure ! It's just a limitation of react-router
, you need to use a different router on the server (called StaticRouter
). I'm usually putting the StaticRouter
around my top component on the server and a BrowserRouter
in the root file of the client. This way you can handle the routes server side and client side :)
@setheal great! Thanks for the simple straight explanation. Will use the StaticRouter
and BrowserRouter
in the coming and existing projects. If possible, please add a resource to which can help me learn it's implementation.
@jvsinghk Sure ! You can check this 3 links:
Don't hesitate to contact me if you need any help :)
@setheal Awesome! Sure, Tysm for the resources :)
You can add SSR to this or can take my commits in the
feature/server-side-rendering
branch and fix it.The initial launch programs landing page ideally should be server-side-rendered. A boilerplate to implement the Server-side rendering can be used.