https://www.prisma.io/ logo
Join SlackCommunities
Powered by
# random
  • p

    pnicolaou

    01/10/2018, 9:56 PM
    yes
  • p

    pnicolaou

    01/10/2018, 9:56 PM
    I only, want to render that component, when an onClick function is called
  • l

    lawjolla

    01/10/2018, 9:57 PM
    First, you'll want a class based component to handle local state, e.g.
  • p

    pnicolaou

    01/10/2018, 9:57 PM
    I was hoping i could do it without a class
  • l

    lawjolla

    01/10/2018, 9:57 PM
    Why?
  • p

    pnicolaou

    01/10/2018, 9:58 PM
    I mean i know i can probably do something like
    Copy code
    return (
      <div>
        <div> shown contnent>
        {ifVisible && <div>shown after click function</div>}
      </div>
    )
  • p

    pnicolaou

    01/10/2018, 9:58 PM
    because its ‘cleaner’
  • p

    pnicolaou

    01/10/2018, 9:59 PM
    ant.design does it the way i want
  • l

    lawjolla

    01/10/2018, 9:59 PM
    So what's holding your modal state?
  • p

    pnicolaou

    01/10/2018, 9:59 PM
    https://ant.design/components/modal/
  • p

    pnicolaou

    01/10/2018, 9:59 PM
    check the confirm modal
  • p

    pnicolaou

    01/10/2018, 10:00 PM
    Well my modal has a prop ‘isOpen’ that when its true the component is shown else it returns null
  • p

    pnicolaou

    01/10/2018, 10:00 PM
    if I can return the modal straight away like ant.design does it, i won’t need state
    l
    • 2
    • 8
  • p

    pnicolaou

    01/10/2018, 10:00 PM
    i will be able just to return Modal.Confirm()
  • e

    emre

    01/11/2018, 1:38 AM
    Noticing service impairment for the endpoints hosted at the us-west-2 region. Can anyone confirm and/or know the procedure to alert the Support team?
    a
    • 2
    • 4
  • j

    jlengstorf

    01/16/2018, 5:49 PM
    I just published a schema stitching w/GrAMPS tutorial and submitted to Hacker News. Mind checking it out and upvoting/sharing? https://news.ycombinator.com/newest
    🦜 5
    prisma 3
  • h

    harmony

    01/20/2018, 2:00 PM
    😂 6
  • h

    harmony

    01/20/2018, 2:00 PM
    👀
  • b

    Benny

    01/22/2018, 6:54 PM
    Hello my friends 🙂 This is Benny, Software Engineer from Singapore. I have just created a reading list for people who are interested in Scalability or need to prepare for a System Design interview at:
  • b

    Benny

    01/22/2018, 6:54 PM
    https://github.com/binhnguyennus/awesome-scalability
    😎 1
    👍 2
    🌟 2
  • b

    Benny

    01/22/2018, 6:55 PM
    Please check it out and let me know your idea! Any star ⭐ will be greatly appreciated ❤️ Thank you very much 👍
  • g

    gantman

    01/25/2018, 5:16 PM
    Feedback plz: Especailly you @jlengstorf!!! I know you got opinions on this stuff from the talks I’ve seen: https://shift.infinite.red/5-things-that-suck-about-remote-work-506b98dd38f9
  • j

    jlengstorf

    01/25/2018, 5:37 PM
    @gantman This is great! I'd make the argument that the first three points are just as true in the office, however. Bigger companies still have cross-timezone offices, and different departments think the other departments don't actually do anything and/or do all the fun stuff. That's not as true with a single-office, small team, of course.
    g
    • 2
    • 1
  • a

    agartha

    01/25/2018, 6:07 PM
    lol @ timezones
  • a

    allpwrfulroot

    01/26/2018, 6:27 PM
    @gantman Very cool! Would also point out that remote work is even more common with freelancers, which makes the bonding-with-coworkers part even harder. But likely out of scope for this 🙂
    👍 2
  • n

    noahdavis

    01/28/2018, 4:52 PM
    We are mostly remote at MarketMuse (sales/marketing in Boston and NYC), but everyone else is spread around the globe. It's really great to have no commute, but the best part of the remote team is we all travel around to see each other and work together throughout the year, in addition to bringing everyone together 3-4 times/year. We are all very well bonded and this culture makes bringing new employees into the mix super easy. I think we would lose most of our best talent if we were forcing people to come to an office instead of living in the mountains of Colombia, the busy life of Brussels, a farm in Virginia, on the water in Seattle, etc... Coworkers that don't bond virtually are often choosing that, IMO. It will be hard for me to ever go back to standard office life after years of mostly remote work. I also hate wearing pants.
    fast parrot 4
    💯 1
    😄 2
  • c

    claudio-viola

    01/29/2018, 10:02 AM
    @noahdavis what positions do you have open?
  • l

    lewisblackwood

    01/29/2018, 3:06 PM
    hey all 👋 does anyone know of a factory library for generating GraphQL style objects, mostly for use in tests? Something like factory_bot/factory_girl from the Ruby world or Rosie JS. Rosie actually works to an extent, but not when you're trying to generate a nested object. A library that hooked up to your existing schema to make this easier would be ace too.
  • h

    huv1k

    01/30/2018, 1:14 PM
    is here somebody good with serverless? i was trying to deploy modified version of https://github.com/graphcool/serverless-image-proxy to work with https://github.com/graphcool/prisma/tree/master/examples/file-handling-s3 but serverless is sooo good with errors 😄
    t
    • 2
    • 2
  • k

    kitze

    01/30/2018, 6:11 PM
    https://github.com/FormidableLabs/urql
    😄 1
1...131415...53Latest