UNPKG

1.25 kBMarkdownView Raw
1Composi
2=======
3
4Contents
5--------
6- [Components](./components.md)
7- [JSX](./jsx.md)
8- [Hyperx](./hyperx.md)
9- [Hyperscript](./hyperscript.md)
10- [Mount and Render](./render.md)
11- [State](./state.md)
12- [Lifecycle Methods](./lifecycle.md)
13- [Events](./events.md)
14- [Styles](./styles.md)
15- [Unmount](./unmount.md)
16- [Installation](../README.md)
17- Third Party Libraries
18- [Functional Components](./functional-components.md)
19- [Deployment](./deployment.md)
20
21Third Party Libraries
22---------------------
23
24Composi works fine with third-party libraries. You can use [Material Design Lite](https://getmdl.io), [Bootstrap](http://getbootstrap.com), [jQuery](http://jquery.com), [Redux](http://redux.js.org), [Mobx](https://mobx.js.org), [Lodash](https://lodash.com), [Ramda](http://ramdajs.com). The only thing to be aware of is markup. If you are using JSX, any markup must respect the rule of well-formedness. This means that all HTML self-closing tags will have to be escaped in the render function with a forward slash:
25
26```html
27wrong correct
28----------------------
29<br> <br/>
30<hr> <hr/>
31<img> <img/>
32<input> <input/>
33<col> <col/>
34<param> <param/>
35<link> <link/>
36<meta> <meta/>
37```