Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

backbone.marionette.jsx

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

backbone.marionette.jsx

Use JSX in your backbone marionette views.

latest
Source
npmnpm
Version
0.1.1
Version published
Maintainers
1
Created
Source

backbone.marionette.jsx

A very lightweight (326 bytes gzipped!) library to use JSX in your backbone marionette views.

This library assumes you already have react and react-dom installed.

Installation

npm install --save backbone.marionette.jsx or yarn add backbone.marionette.jsx

Usage

import Mn from 'backbone.marionette';
import { jsxView } from 'backbone.marionette.jsx'

@jsxView
export default class ViewUsingJSX extends Mn.View {
  template() {
    return (
      <h1>Hey! It's JSX in my Marionette</h1>
    )
  }
}

Keywords

React

FAQs

Package last updated on 28 May 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts