Js.log messages not showing in console

reasonreact

#1

Hi all,

I’m new to reasonml and trying out reasonreact. I’m having a weird issue where none of the log messages show in console.

I tried using both Js.log("hello") and also %bs.raw {| console.log('hello') |} and also tried using bs-log %log.info "hello". But nothing seems to work. No console log messages are printed to the console.
Checked in chrome as well as in safari.

Everything compiles as it should.

help pls :pray:

Edit

Sorry guys :see_no_evil: I had a problem with not actually calling the component.


#2

No worries, glad you figured it out :sunglasses: