Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Aug 31 2017 14:04
    ShunmugamAiyappan commented #93
  • Aug 31 2017 13:59
    ShunmugamAiyappan commented #93
  • Aug 31 2017 13:58
    ShunmugamAiyappan opened #93
  • May 11 2017 10:14
    NBroomfield commented #40
  • Apr 18 2017 02:21
    adl1995 opened #92
  • Apr 01 2017 16:17
    richyrb00 opened #91
  • Dec 21 2016 23:52
    andreimc closed #68
  • Jul 21 2016 15:53
    selaromi commented #90
  • Jul 21 2016 14:31
    gpbl commented #90
  • Jul 21 2016 14:29
    selaromi opened #90
  • Jun 04 2016 07:10
    leplay commented #89
  • May 25 2016 16:55
    maiopirata closed #87
  • May 15 2016 11:38
    leplay commented #89
  • May 07 2016 20:16
    gpbl commented #89
  • May 07 2016 20:15

    gpbl on master

    upgrade React and Fluxible fix FormattedMessage values Merge pull request #89 from lep… (compare)

  • May 07 2016 20:15
    gpbl closed #89
  • May 07 2016 04:34
    leplay opened #89
  • Apr 13 2016 20:13
    gpbl commented #52
  • Apr 13 2016 19:46
    danilobuerger commented #52
  • Apr 13 2016 19:41
    gpbl commented #52
Shih-Min Lee
@ssmlee04
haha hey
oh I was moving /dist folder to the root of my server (some apache server for now)
and have an index.html that does something like
<html lang="en">
<link rel="stylesheet" type="text/css" href="static/dist/main-26173a892751f570ff8d.css"/>
<script src="static/dist/main-197dd005bd8e5e1ee113.js"></script>
</html>
and hoping it will work
it didn't work
This message was deleted
Shih-Min Lee
@ssmlee04
error message is now: TypeError: Cannot read property 'plugins' of undefined(…).
Shih-Min Lee
@ssmlee04
This message was deleted
Shih-Min Lee
@ssmlee04
<html lang="en">
  <head>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no" />
    <title>Hello World</title>
    <link href="static/dist/main-26173a892751f570ff8d.css" rel="stylesheet"/>
    <link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css" rel="stylesheet"/>
    <link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/css/toastr.min.css"/>
    <link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family=Lato" />
    <link rel="stylesheet" href="//s3.amazonaws.com/clearstr/css/animate.css"/>
  </head>
  <body>
    <div id="fb-root"></div>
    <div id="content"/>
    <script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/js/toastr.min.js"></script>
    <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
    <script src="//maps.googleapis.com/maps/api/js?v=3.exp"></script>
    <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
    <script src="//cdnjs.cloudflare.com/ajax/libs/es5-shim/4.4.1/es5-shim.min.js"></script>
    <script src="static/dist/main-197dd005bd8e5e1ee113.js"></script>
  </body>
</html>
Giampaolo Bellavite
@gpbl
sorry @ssmlee04 is a bit difficult to understand what’s going on. sure it’s not designed for that :) please post more details about the error
Shih-Min Lee
@ssmlee04
after I do npm build I copied static folder to under this folder
this folder is something like /htdocs
and then I manually create an index.html like the above
and then I try to load the page but nothing happens
Screen Shot 2016-03-18 at 8.40.35 AM.png
Screen Shot 2016-03-18 at 8.40.41 AM.png
basically I just copied most of the code from client.js into index.html
because that's users' entry point.. right?
Shih-Min Lee
@ssmlee04
ok I realized I do not have window.INITIAL_STATE;
this seems to be causing the problem
Giampaolo Bellavite
@gpbl
@ssmlee04 you can skip the rehydrate part, update client.js
Shih-Min Lee
@ssmlee04
you mean comment out the rehydrate part code and build again?
Giampaolo Bellavite
@gpbl
yep
Shih-Min Lee
@ssmlee04
ok lemme try first
Shih-Min Lee
@ssmlee04
so <Root context={ context.getComponentContext() } />
do I just ignore context part?
Giampaolo Bellavite
@gpbl
no, you need the context :)
Shih-Min Lee
@ssmlee04
since I commented out the app.rehydrate(dehydratedState, (err, context) => {
hmm.. so what is a context in this case? (never really understand what a context is..)
Giampaolo Bellavite
@gpbl
i think you can create that context var with app.createContext()
Shih-Min Lee
@ssmlee04
kk
Giampaolo Bellavite
@gpbl
it is needed by fluxible to do its stuff
Shih-Min Lee
@ssmlee04
haha ok. Iemme try again
Shih-Min Lee
@ssmlee04
not working somehow..
Giampaolo Bellavite
@gpbl
sorry @ssmlee04 I can’t help with that so much. maybe you can keep app.rehydratedand just pass an empty object as dehydratedState
Shih-Min Lee
@ssmlee04
haha ya I just did that.. will look into it from here :)
Shih-Min Lee
@ssmlee04
oh btw @gpbl
I noticed you have a file APIUtils
exports default const object
this object has get, put, post, delete method
so in your other scripts you have import {get, post, put} from APIutils
but seems in es6 you cannot do bracket import stuff that is default exported
is this something to worry about?
Will Dembinski
@wi-ski
Hi there. Anyone here?
Doesnt look this has been active in a long while
Giampaolo Bellavite
@gpbl
hi @willdembinski yes as I’m working mainly with redux the project is at stale now… however people are still starring it and I feel bad to let it die. I hope to find some time this month to update it :pray:
Romeu Mello
@romeumellobr
Hi Guys!
I'm from python and php, totally lost here.
I Want to know how to integrate some photo gallery like this:
https://github.com/gpbl/isomorphic500?files=1
to a personal App of mine, actually a simple website
Punita Ojha
@punitaojha
This message was deleted
Lioxor64
@lioxor64

Hello, my name is Liora and I am currently hunting open source projects for company NeuraLegion (www.neuralegion.com)
We just launched a free annual subscription for open source projects for our AIAST tool NexPloit.

If you are interested, please, reach us on opensource@neuralegion.com!

Thank you for your time and consideration! If you have any questions, please do not hesitate to contact us!

Best,