giraud/rescript-react-diagram

Enable namespace: true in your bsconfig?

ryyppy opened this issue · 1 comments

Not sure if you know about this, but we've got a namespace config that allows you to drop the Diagram__ prefixes in your codebase.

But maybe you had a reason to do it that way, so feel free to ignore if that is the case.

I've never been able to use automatic namespace because you can't have a global root module.

In that case, I want Diagram to contain the root component. With a namespace, I think I would have to use <Diagram.Diagram>.

If it's possible to use a root module with namespace, I would be glad to use it.