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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make the website U N I V E R S A L #471

Closed
Nyalab opened this issue Jul 3, 2015 · 10 comments
Closed

Make the website U N I V E R S A L #471

Nyalab opened this issue Jul 3, 2015 · 10 comments
Assignees

Comments

@Nyalab
Copy link
Collaborator

Nyalab commented Jul 3, 2015

never forget

at https://github.com/putaindecode/putaindecode.fr/blob/master/scripts/build.js#L117, add reactRender: “renderToString”

@MoOx
Copy link
Member

MoOx commented Jul 3, 2015

We need to:

  • use renderToString
  • duplicate each pages as json or something that we can fetch from client side
  • trigger the render in the front-end to sync server/client rendering

Should not be a big deal.

@MoOx MoOx changed the title make the website renderable with renderToString Make the website I S O M O R P H I C Jul 3, 2015
@MoOx MoOx changed the title Make the website I S O M O R P H I C Make the website U N I V E R S A L Jul 3, 2015
@MoOx MoOx self-assigned this Aug 25, 2015
@MoOx
Copy link
Member

MoOx commented Aug 25, 2015

FYI, I have a PoC locally. I will try to integrate this in a month or so.

@MoOx
Copy link
Member

MoOx commented Aug 25, 2015

react/redux + fetch json for front / read json for static build + collections handled by a webpack loader.

@MoOx
Copy link
Member

MoOx commented Oct 18, 2015

statinamic is almost ready and after react 0.14 update, I will migrate. Should not take long.

@Nyalab
Copy link
Collaborator Author

Nyalab commented Oct 19, 2015

can't wait to see/help

@MoOx
Copy link
Member

MoOx commented Oct 24, 2015

Closing in favor of #487 (this will be in it).

@MoOx MoOx closed this as completed Oct 24, 2015
@MoOx
Copy link
Member

MoOx commented Oct 28, 2015

I will do that first, then #487

@MoOx MoOx reopened this Oct 28, 2015
@MoOx MoOx mentioned this issue Oct 29, 2015
7 tasks
@MoOx MoOx closed this as completed in #495 Nov 3, 2015
@MoOx
Copy link
Member

MoOx commented Nov 3, 2015

@Nyalab now you can add your onclick (but yeah for tag we need something better than that MoOx/phenomic#15)

@Nyalab
Copy link
Collaborator Author

Nyalab commented Nov 6, 2015

haha, basterd 😄

@MoOx
Copy link
Member

MoOx commented Nov 6, 2015

You are welcome.

MoOx added a commit that referenced this issue Aug 22, 2016
Closes #253
Closes #190
Ref #471

Still need to handle #523 before merging this
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

No branches or pull requests

2 participants