How to use universal-rx - 5 common examples

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 alibaba / rax / examples / gesture / index.js View on Github external
_updatePosition () {
    setNativeProps(this.circle, this._circleStyles)
  }
github alibaba / rax / examples / gesture / index.js View on Github external
_highlight () {

    setNativeProps(this.circle, {
      style: {
         backgroundColor: CIRCLE_HIGHLIGHT_COLOR
       }
    });

  }
github alibaba / rax / examples / gesture / index.js View on Github external
_unHighlight () {

    setNativeProps(this.circle, {
      style: {
        backgroundColor: CIRCLE_COLOR
      }
    });

  }
github raxjs / server-side-rendering-comparison / assets / dest / List / index.rx.js View on Github external
width: '100%'
              } }),
            (0, _universalRx.createElement)(
              'p',
              null,
              item.title
            ),
            (0, _universalRx.createElement)('div', null)
          );
        })
      );
    }
  }]);

  return List;
}(_universalRx.Component);

exports.default = List;
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 7 years ago

Package Health Score

56 / 100
Full package analysis

Similar packages