chenglou changed the topic of #reasonml to: https://reasonml.github.io. Channel logs at https://irclog.whitequark.org/reasonml. Discord: https://discord.gg/reasonml
Haudegen has quit [Client Quit]
Haudegen has joined #reasonml
Haudegen has quit [Ping timeout: 265 seconds]
Haudegen has joined #reasonml
ollehar has joined #reasonml
Haudegen has quit [Quit: Bin weg.]
zebrag has quit [Ping timeout: 246 seconds]
inkbottle has joined #reasonml
ollehar has quit [Ping timeout: 260 seconds]
ollehar_ has joined #reasonml
Haudegen has joined #reasonml
ollehar_ has quit [Ping timeout: 272 seconds]
<inkbottle> In the sort of tutorial there: https://reasonml.github.io/reason-react/docs/en/installation
<inkbottle> They say to start doing: bsb -init my-react-app -theme react-hooks; cd my-react-app && npm install && npm start; npm run server # in another tab
<inkbottle> And then go to http://localhost:8000/; and then "how nice!"
<inkbottle> That part is fine
<inkbottle> But the next named "Intro Examples" [https://reasonml.github.io/reason-react/docs/en/intro-example]
<inkbottle> doesn't work right out of the box: There already is a file "Index.re", etc. And I'm wondering if the setting is compatible with the example.
<inkbottle> I was wondering how to have an intermediary setting between `bsb -init my-reason-app -theme basic-reason`, which I think doesn't allow to go to http://localhost:8000/ right out of the box.
<inkbottle> And bsb -init my-react-app -theme react-hooks, which provide a setting that might be overwhelming for a beginner:
<inkbottle> Having "everything" doesn't mean you will be able to understand them, and that can be a drawback for some?
<inkbottle> Like "look how magical it is", can hinder the understanding, IMO
<inkbottle> I'll probably find way way around through, so no worries
<inkbottle> which does not exist
Haudegen has quit [Quit: Bin weg.]
Haudegen has joined #reasonml
<inkbottle> I've inserted `<script src="/moduleserve/load.js" data-module="/srcTwo/IndexTwo.bs.js"></script>` in index.html
<inkbottle> IndexTwo.re and GreetingTwo.re are after https://reasonml.github.io/reason-react/docs/en/intro-example
<inkbottle> I've modified IndexTwo.re like so: `ReactDOMRe.renderToElementWithId(<GreetingTwo name="Bob" />, "greeting");`
<inkbottle> Compilation reports no error, and even say that it did compile those files
<inkbottle> but localhost:8000 is not showing the additional example: John, yes; Bob, no.
<inkbottle> John is: ReactDOMRe.render(<Greeting name="John" />, makeContainer("greeting"));
<inkbottle> Never mind
<inkbottle> I'll find my way around
<inkbottle> https://reasonml.github.io/reason-react/docs/en/intro-example does not integrate well with bsb -init my-react-app -theme react-hooks
<inkbottle> Hence the Manual doesn't work beyond page 1.
<inkbottle> When the code in https://reasonml.github.io/reason-react/docs/en/intro-example is compiled, several layers are introduces, and it's not obvious how to have them working