There are plenty of simple components that don't need :opts. If you have a better idea I'm all ears :)
On Tue, Jan 14, 2014 at 12:48 AM, <clojure.u...@gmail.com> wrote: > On Tuesday, January 14, 2014 11:09:23 AM UTC+5:30, David Nolen wrote: > > Currently arbitrary parameters are passed via the :opts field in the > third argument to om.core/build. The examples in the repo demonstrate this > as well as the linked TodoMVC example. > > > > On Monday, January 13, 2014, wrote: > > > > Hi! > > > > > > > > I am sure this is a stupid question and I apologize in advance! > > > > > > > > How do we pass parameters to a component using om ? > > > > > > > > Do we instead pass a path into the application state (atom) ? > > > > > > > > > > > > Thanks in advance > > > > > > > > -- > > > > Note that posts from new members are moderated - please be patient with > your first post. > > > > --- > > > > You received this message because you are subscribed to the Google > Groups "ClojureScript" group. > > > > To unsubscribe from this group and stop receiving emails from it, send > an email to clojurescript+unsubscr...@googlegroups.com. > > > > > > To post to this group, send email to clojurescript@googlegroups.com. > > > > Visit this group at http://groups.google.com/group/clojurescript. > > Thanks, I saw the opts field but found it a bit annoying especially when > you think every reusable component would be using it. > > > Still, I have loved om so far. > Thanks for this great work! > > -- > Note that posts from new members are moderated - please be patient with > your first post. > --- > You received this message because you are subscribed to the Google Groups > "ClojureScript" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to clojurescript+unsubscr...@googlegroups.com. > To post to this group, send email to clojurescript@googlegroups.com. > Visit this group at http://groups.google.com/group/clojurescript. > -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are subscribed to the Google Groups "ClojureScript" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojurescript+unsubscr...@googlegroups.com. To post to this group, send email to clojurescript@googlegroups.com. Visit this group at http://groups.google.com/group/clojurescript.