Fork me on GitHub
#reagent
<
2015-09-03
>
wqhhust01:09:05

@mikethompson @gadfly361 I fix the warning for https://github.com/wqhhust/test_frame. Please help me understand why it works on PC but not on mobile: 1: lein clean; lein figwheel dev 2: http://localhost:3449/ 3: click the first item 4: in the modal window pick up a different option from the list and then save, then will return to the main window 5: click the same item again, see whether the save option are them or not for pc mobile, the saved option is there since the second time click the item, it show the correct save value which is different from the original value, but on mobile, the option is still the default value no matter how I change it

gadfly36116:09:31

@wqhhust I will try and take a look this weekend (likely wont have access to a laptop until then). How are you testing on mobile? Actually on mobile device, or through a simulator, or just resizing a browser screen?

tel20:09:07

Anyone ever used child context with reagent?

tel20:09:27

Actually I guess all I need is to be able to get access to this in the render fun

tel20:09:34

or I can just make my own I suppose

tel20:09:44

ah, r/current-component

tel21:09:43

that was surprisingly nice simple_smile