Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Juho Vepsäläinen
    @bebraw
    @mattbilbow the antwar generator thing is actually getting usable. still missing some core features before we can go beta but getting better day by day
    Matt Bilbow
    @mattbilbow
    ha. that post!
    if only comments were open
    @bebraw that’s good, looking forward to seeing beta
    Juho Vepsäläinen
    @bebraw
    just did a little ellipsis plugin for react, https://bebraw.github.io/react-ellipsify/
    compared to a jquery one i have done earlier it was much easier to develop
    less code, easier to understand. only the traversal part took some thinking :)
    Firtina Ozbalikci
    @toxicFork
    react is awesome
    Juho Vepsäläinen
    @bebraw
    i wonder what would be a nice api for pure grids (http://purecss.io/grids/)

    maybe something along

    <Grid>
        <Unit>foo</Unit>
        <Unit>bar</Unit>
        ...
    </Grid>

    for vanilla case (each Unit would map to pure-u-1-n)

    if you want a larger unit, you would pass it as a prop
    the problem is that this cannot be entirely arbitrary - there are only 5th and 24th based grid available
    also how to deal with responsive grids? you'll want different units based on resolution
    Juho Vepsäläinen
    @bebraw
    if anyone is looking for something to read during the weekend, maybe check out a sneak peek of my webpack/react book :)
    Juho Vepsäläinen
    @bebraw
    https://github.com/petehunt/jsxstyle - inline styles to stylesheets
    Aaron Goshine
    @aaron-goshine
    @bebraw nice I will give the a read.. the question is can do hot swapping without webpack server ...
    Juho Vepsäläinen
    @bebraw
    @aaron-goshine maybe https://github.com/gaearon/react-hotify would fit your purposes
    Aaron Goshine
    @aaron-goshine
    @bebraw cant i do that on any standard http server ?
    Juho Vepsäläinen
    @bebraw
    @aaron-goshine no idea. you can try to open an issue at that repo
    why do you need something like that?
    Aaron Goshine
    @aaron-goshine
    @bebraw if it is possible to lazy load my react application that would be a nice optimisation
    Juho Vepsäläinen
    @bebraw
    well, you can get lazy loading per view with react/webpack already. i'm not sure how hot loading would help in that
    these days hot loading is used only for dev purposes
    Aaron Goshine
    @aaron-goshine
    @bebraw can you send me link to a proper implenmentation of react/webpack lazy loading , without node server
    Juho Vepsäläinen
    @bebraw
    the trick is in using require.ensure
    Aaron Goshine
    @aaron-goshine
    @bebraw does your book touch on that in more details?
    Juho Vepsäläinen
    @bebraw
    @aaron-goshine not yet, it's more of a tutorial oriented book. you can find specific info like this at https://github.com/christianalfoni/react-webpack-cookbook
    Aaron Goshine
    @aaron-goshine
    great that look nice, these is comming really close to what I am looking for … I will go through these docs and let you know …
    Juho Vepsäläinen
    @bebraw
    Russell Holmes
    @russellholmes
    Hey - HI guy - how do i handle a 404
    Juho Vepsäläinen
    @bebraw
    that goes beyond react. please see your server docs :)
    Frank Gutierrez
    @dearfrankg
    https://goo.gl/SR1tIS -- getting propType warning and have no idea why -- can someone take a peek
    Juho Vepsäläinen
    @bebraw
    @dearfrankg i don't see the relation between App and Home. missing code?
    btw, we launched http://www.reactindiebundle.com/ . it's on topic ;)
    Sami Ghayeni
    @aseds

    hi guys, i'm trying to glue ddp and ddp-server-reactive to make something like Meteor but without using Meteor!
    can somebody tell me what i should do please? in meteor, if data changes on the database, React shows that change.(i think by rerendering)
    i'm new to React. say i do this using ddp:

        'posts', 
        [],                       // any parameters used by the Publish function 
        function () {             // callback when the subscription is complete 
          console.log('posts complete:');
          console.log(ddpclient.collections.posts);
        }
      );

    so after i subscribe, if posts changes on the server, the callback of ddbclient.subscribe() get's called. but how do i make React to rerender when this change happen?

    sorry, the code is this:
        'posts',                  // name of Meteor Publish function to subscribe to 
        [],                       // any parameters used by the Publish function 
        function () {             // callback when the subscription is complete 
          console.log('posts complete:');
          console.log(ddpclient.collections.posts);
        }
      );
    oh god!
    ddpclient.subscribe(
        'posts',                  // name of Meteor Publish function to subscribe to 
        [],                       // any parameters used by the Publish function 
        function () {             // callback when the subscription is complete 
          console.log('posts complete:');
          console.log(ddpclient.collections.posts);
        }
      );
    and i'm using Express.js. i have not figured out how to connect ddp to Mongodb, i first wanted to know it its possible on the client-side. thank you very much for your time.
    Никита Селецкий
    @seleckis
    Hello, could you please suggest React components library build with CSS modules?
    devseregik
    @devseregik
    hi there, whats better the form validation lib?
    I used formsy but can you know something more convenient or prefer your implementation of validation?
    Punita Ojha
    @punitaojha
    This message was deleted
    Kristian Nissen
    @kristiannissen_twitter

    I really need some help wrapping my brain around react-router-dom and redux, take this for example https://github.com/ReactTraining/react-router/tree/master/packages/react-router-redux in the comment it says

    Now you can dispatch navigation actions from anywhere!
    store.dispatch(push('/foo'))

    which sounds awesome, so from anywhere inside my app I can call store.dispatch and access my state and reducers. Only problem is, since the react-router-dom is now regular components that can be dumped anywhere, the Provider is not passing anything down through the app structure (Im guessing this is why the store isn't accessible). I created this dummy app https://gist.github.com/kristiannissen/b9a9ef1904eb40af9c305e06af4cf0fc for testing but as I said, I need help getting the it working.

    What is the "best practise" approach to react-router-dom and redux? I guess the question I need answered is, now do I access the store from the Tacos component?

    Xaria
    @xariaSg
    Hello
    anyone here?
    Aditya Dehal
    @aditya2000
    Hey @xariaSg
    Omid Nikrah
    @omidnikrah
    Hi :v:, I make an application that can help you to calculate your working time If you are remote or hourly paid worker.
    I would be happy to hear your comments and suggestions.
    https://github.com/omidnikrah/wtc
    Noah Gray
    @NoahGray_gitlab
    @omidnikrah I don't like working like that, clouting hours, lol. personal preference. but the UI looks original.