You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using a browser-connected REPL for Om, I'd love to be able to invoke Om functions to investigate their outputs and so forth. However this would require having the React object from react.js avaliable in the page. The default HTML generated by send-repl-index however is pretty minimal (by design).
I can think of a few ways to accomplish this:
have some kind of additional config/hook in profiles.clj to specify additional URLs (http or file system) for libs to include;
read from :preamble and add the paths specified there as <script> tags;
same as above but just add those libs to the client.js
The text was updated successfully, but these errors were encountered:
When using a browser-connected REPL for Om, I'd love to be able to invoke Om functions to investigate their outputs and so forth. However this would require having the
React
object fromreact.js
avaliable in the page. The default HTML generated by send-repl-index however is pretty minimal (by design).I can think of a few ways to accomplish this:
profiles.clj
to specify additional URLs (http or file system) for libs to include;:preamble
and add the paths specified there as<script>
tags;The text was updated successfully, but these errors were encountered: