jed_fox1’s avatarjed_fox1’s Twitter Archive — № 1,186

    1. …in reply to @simonbs
      @simonbs Totally! JSX just designed to function calls, and your transpiler should let you configure which function gets called. You just need to write a function with the same signature as createElement. For example: (type, props, ...children) => type({...props, children})
  1. …in reply to @jed_fox1
    @simonbs s/designed/desugars/