Frequently questions Is jsx-slack the state of production-ready? Please notice to a usage of component that has a bit different syntax from JSX. This is a simple example of the template function just to say hello to someone. Setting for transpiler and importing built-in components are not required. It allows the template syntax almost same as JSX, powered by HTM (Hyperscript Tagged Markup). We provide jsxslack tagged template literal to build blocks right out of the box. `jsxslack` template literal tagĭo you hate troublesome setting up for JSX? All right. jsx-slack requires Deno v1.16 and later for using JSX transpilation. Furthermore, setting up JSX transpiler would make the best development experience. Now you can begin to write the code with jsxslack template literal tag. If you are using TypeScript, we also require TS >= 3.7. It helps in understanding the structure of complex contents and interactions. Jsx-slack would allow composing contents with simple and predictable HTML-like markup. Project goalĪ project goal is creating an interface to compose contents for Slack with keeping code maintainability by using JSX. We believe JSX-based template well-known in front-end development would enhance a developer experience of Slack app. A team member must read and write JSON with deep knowledge about specifications of payload for Slack API. When developing Slack-integrated app, continuous maintenance of the rich contents is a difficult task. See references to dive into jsx-slack deeply. HTML-like formatting - Keep a readability by using well-known elements.Block Kit as components - Build contents for any surfaces by composing components for Block Kit with JSX.Build JSON object for Slack block kit surfaces from JSX.
0 Comments
Leave a Reply. |