How to use the universal-rx.createElement function in universal-rx

To help you get started, we’ve selected a few universal-rx examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github raxjs / server-side-rendering-comparison / assets / dest / List / index.rx.js View on Github external
data.map(function (item, idx) {
          return (0, _universalRx.createElement)(
            'div',
            { key: idx, style: {
                float: 'left',
                width: '200px',
                marginRight: '10px',
                marginBottom: '10px'
              } },
            (0, _universalRx.createElement)('img', { src: item.img, style: {
                width: '100%'
              } }),
            (0, _universalRx.createElement)(
              'p',
              null,
              item.title
            ),
            (0, _universalRx.createElement)('div', null)

universal-rx

A universal React-compatible render engine.

BSD-3-Clause
Latest version published 8 years ago

Package Health Score

56 / 100
Full package analysis

Similar packages