DEV Community

Cover image for React on lambda

Posted on • Updated on

React on lambda

Leverage a new programming experience to code less and efficiently.

JSX has simple, declarative and html-like syntax, nice extension to ECMAScript. Unfortunately, despite these cool features you deal with text. Most of time you find yourself doing js code inside html, and inside that html you make again another js code and so on. In order to reuse some jsx fragments you have to wrap them by functions. Then you may come to the main question:

Why not just use functions instead of jsx strings?

And get all benefits of functional programming:

  • splitting code into more reusable parts
  • curry and function composition
  • easier testing and debugging
  • compact and clean code

Learn more about React on lambda.

Top comments (0)