Hey Henry,
I started the project because I wanted to write schemas (using
Prismatic's schema library) for all of the react-bootstrap components; I
ended up doing this rewrite because I wanted to leverage the huge
performance gains Om can get over straight-up React due to Clojure's
immutable data structures.
React-Bootstrap's components rely on a lot of property mutation under
the hood. Also, react-bootstrap isn't Closure-compiler compatible, so
wrapping that library becomes an exercise in extern management.
Hope that helps!
henry w <mailto:[email protected]>
August 27, 2014 at 10:24 AM
Hi Sam,
total noob question coming up (just got started with om beginner
tutorial).
React components can be used from om apparently (not that i have seen
an example of this). So, why is there a need for this library? Is it
providing boilerplate around react-bootstrap or doing something more?
Thanks
Henry
On Monday, August 25, 2014 2:14:04 AM UTC+1, Sam Ritchie wrote:
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient
with your first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
---
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected]
<mailto:[email protected]>.
For more options, visit https://groups.google.com/d/optout.
Sam Ritchie <mailto:[email protected]>
August 24, 2014 at 7:13 PM
Hey all,
I wanted to share a library I've been putting together for writing
Bootstrap 3 components in Om. It's called, creatively, Om-Bootstrap.
Here's the git repository: https://github.com/racehub/om-bootstrap
Version 0.2.5 is on Clojars <https://clojars.org/racehub/om-bootstrap>:
[racehub/om-bootstrap"0.2.5"]
I've also written an interactive documentation site for the project, a
la the Bootstrap doc site:
http://om-bootstrap.herokuapp.com
This site has working examples of every component in the library, and
TODOs in the spots that I intend to cover. Every example snippet has a
"show code" toggle that lets you see the code used to generate that
example. You should be able to copy the code over to your project and
have it work right away.
There's a lot of cool stuff in this project that I hope to document.
The README describes how to get the embedded websocket repl running.
I'll post on how I do the embedded example snippets soon. The plan is
to add server-side HTML generation and client side routing once the
doc site gets a few more pages.
Huge props to David for Om, and to the react-bootstrap
<https://github.com/react-bootstrap/react-bootstrap> project for
inspiration... I've been tracking off of them and their killer doc
site for this initial push.
Let me know what you guys think!
--
Sam Ritchie (@sritchie)
Paddleguru Co-Founder
703.863.8561
www.paddleguru.com <http://www.paddleguru.com/>
Twitter <http://twitter.com/paddleguru>// Facebook
<http://facebook.com/paddleguru>
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
---
You received this message because you are subscribed to the Google Groups "Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.