untangled

NEW CHANNEL: #fulcro
thinhptran 2017-03-30T07:59:41.834572Z

Hi all, I currently using Om.Next to render my Highchart. It works but it looks ugly so I would like to know if anyone has a better way for it.

thinhptran 2017-03-30T08:01:11.856141Z

I have to store the highchart in an appstate

thinhptran 2017-03-30T10:10:12.633660Z

solved it: ;;; Highchart (defui MyLocalChart Object (render [this] (let [{:keys [tableconfig]} (om/props this) my-chart-config (utils/gen-chart-config-handson tableconfig)] (dom/div #js {:style {:height "100%" :width "100%" :position "relative"} :ref (fn [mydiv] (if (some? mydiv) (js/Highcharts.Chart. mydiv (clj->js @my-chart-config))))}))))

claudiu 2017-03-30T19:55:41.682645Z

Hi, fallowed untangled in the large video. Got html5 routing working except for the initial entry point.

claudiu 2017-03-30T19:57:06.710957Z

ex: /login will show :main although the state is :login and on figwheel reload it changes and shows the login html.

claudiu 2017-03-30T19:57:24.717051Z

:started-callback (fn [{:keys [reconciler]}]
                        (reset! r/history (pushy/pushy
                                            (partial r/set-route! reconciler)
                                            (partial bidi/match-route r/routes)))
                        (pushy/start! @r/history)))))

claudiu 2017-03-30T19:58:41.743113Z

anyone have any idea what I should do ?