0.2.47 • Published 8 years ago

react-backstrap v0.2.47

Weekly downloads
1
License
Apache-2.0
Repository
github
Last release
8 years ago

NPM version react-backstrap

Note: this module is being split into smaller pieces

This repository builds to a UMD module in dist/rbs.js (not included in source control, but is published to npm)

#Build

npm install && npm run build

#Demo Not yet available

#Structure The react components are broken into the following hierarchy under rbs.components

  • Model - These views render a model. They rely on the Model mixin.
  • Collection - These views render a collection. They rely on the collection mixin. The mixin keeps this.state.collection in sync with this.props.collection.
  • Layout - These are your typical react views that don't interact with Backbone in any way. Most of these are Bootstrap related. E.g. the alert view represents a bootstrap alert. The icon view lets you insert a fontawesome icon.
  • Controls - These views are meant to contain behavioral type code. For example, a loading wrapper can disable or hide children whenever the passed in collections or models are loading.
  • Combo - These views use some combination of other views

These mixins are contained in rbs.mixins

  • Model - Copies the backbone model to this.state.model and provides a function for converting an array of objects into children components
  • Collection - Copies the backbone collection to this.state.collection and provides a function for rendering a model component for each model in the collection
  • Events - Mixes Backbone.Events into the react component to allow listening to backbone models and collections for events
0.2.47

8 years ago

0.2.46

8 years ago

0.2.45

8 years ago

0.2.33

8 years ago

0.2.32

8 years ago

0.2.31

8 years ago

0.2.30

8 years ago

0.2.29

8 years ago

0.2.28

8 years ago

0.2.27

8 years ago

0.2.26

8 years ago

0.2.25

8 years ago

0.2.24

8 years ago

0.2.23

8 years ago

0.2.22

8 years ago

0.2.21

8 years ago

0.2.19

8 years ago

0.2.18

8 years ago

0.2.17

8 years ago

0.2.15

8 years ago

0.2.14

8 years ago

0.2.13

8 years ago

0.2.12

8 years ago

0.2.11

8 years ago

0.2.10

8 years ago

0.2.9

8 years ago

0.2.8

8 years ago

0.2.7

8 years ago

0.2.6

8 years ago

0.2.5

8 years ago

0.2.4

8 years ago

0.2.3

8 years ago

0.2.2

8 years ago

0.2.1

8 years ago

0.2.0

8 years ago

0.1.39

8 years ago

0.1.38

8 years ago

0.1.37

8 years ago

0.1.36

8 years ago

0.1.35

8 years ago

0.1.34

8 years ago

0.1.32

8 years ago

0.1.31

8 years ago

0.1.30

8 years ago

0.1.29

8 years ago

0.1.28

8 years ago

0.1.27

8 years ago

0.1.26

8 years ago

0.1.25

8 years ago

0.1.24

8 years ago

0.1.23

8 years ago

0.1.22

8 years ago

0.1.21

8 years ago

0.1.20

8 years ago

0.1.19

8 years ago

0.1.18

8 years ago

0.1.17

8 years ago

0.1.16

8 years ago

0.1.15

8 years ago

0.1.14

8 years ago

0.1.13

8 years ago

0.1.12

8 years ago

0.1.11

8 years ago

0.1.10

8 years ago

0.1.9

8 years ago

0.1.8

8 years ago

0.1.7

8 years ago

0.1.6

8 years ago

0.1.4

8 years ago

0.1.3

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago