Yeah so you'd have to cast formData to an object - best place to do that is in the view itself I reckon
-
-
Replying to @yoshuawuyts @Atlas3650
or if you're trying to submit, the effect could handle that. I'd def recommend to stick to JS primitives in state as much as pos
1 reply 0 retweets 0 likes -
Replying to @yoshuawuyts
thx. now stuck on adding sortable. see https://gist.github.com/willkessler/4a4f452d0dfff205e7cf2c75f2c745ef … . i can chg list, but how do i call send() outside app?
1 reply 0 retweets 0 likes -
Replying to @Atlas3650
send() cannot be called from outside the app; you can however create an eventEmitter and hook it up to a subscription
1 reply 0 retweets 0 likes -
Replying to @yoshuawuyts
made editable sortable list exmpl 4 u in choo http://dysfunctional-industry.surge.sh/ . but janky timeouts. want 2 write tutorial. suggestions?
1 reply 0 retweets 0 likes -
Replying to @Atlas3650
perhaps this is helpful https://github.com/shama/bel/issues/29 …
1 reply 0 retweets 0 likes -
Replying to @yoshuawuyts @Atlas3650
for the prism part; not sure what you mean by janky timeouts
2 replies 0 retweets 0 likes -
Replying to @yoshuawuyts
to add to this, my goal was to apply sortable to the ul. it's not a nice npm module, unfortunately... so forced to post-apply
1 reply 0 retweets 0 likes -
Replying to @Atlas3650
would be heaps interesting to see that in action! :D
1 reply 0 retweets 0 likes -
Replying to @yoshuawuyts
did you try out my demo? http://dysfunctional-industry.surge.sh/ : it works... just not pretty and probably not choo-like... :-(
1 reply 0 retweets 0 likes
yeah, saw it - didn't quite get the bottom part; I'm a bit tired rn, I'll give it a look with a fresh pair of eyes in the morning
-
-
Replying to @yoshuawuyts
no worries, thanks! (bottom part was not important; mostly interested in doing the subscription "right")
0 replies 0 retweets 0 likesThanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.