Phelia – React for Slack Apps

164 points by maxchehab 5 years ago | 12 comments
  • maxchehab 5 years ago
    Hey hn! I was tired of keeping track of Slack's webhook payloads, designing blocks in JSON, and general code fragmentation. So I tried removing the knowledge barrier of storage, state, webhooks, and message publishing as much as possible. Although Phelia won't make you a better developer, I hope it helps you build your Slack applications faster. All you gotta know is React.
    • wakeless 5 years ago
      A very cool approach, well done.
      • RobLach 5 years ago
        Admirable work
      • eyelidlessness 5 years ago
        This is a cool idea. I just took a glance while on my porch with my phone so limited in tools at hand, but a look at the reconciler suggests to me that this may benefit from some branded types. There are a bunch of type aliases to any, and TS will treat them as compatible by default. “Branding” types is a little sleight of hand that allows some degree of nominal typing that may benefit this usage if the types are meaningful but still truly can be any type
        • prezjordan 5 years ago
          Clever, nice work. Always fun to see JSX being used for more than rendering DOM nodes.
        • jamestimmins 5 years ago
          This is really exciting! I just finished building a slack app and the JSON-centric UI leaves a lot to be desired.
          • cvburgess 5 years ago
            This is so wonderful, as devloping rich interactive Slack apps can be a pain. Thanks for the work!
            • takklz 5 years ago
              Love this! The slack api is bizarre
              • slowmotarget 5 years ago
                Fantastic, thank you so much. I'd like to add that while WFH is getting a lot of traction, this is a wonderful time to market for your lib.
                • bluetidepro 5 years ago
                  This is incredible. Just what I needed for a project! Thank you so much!
                  • flaque 5 years ago
                    This is so great, thank you!