Sebastian Clausen

Results 47 comments of Sebastian Clausen

Yes, you could [use a factory for creating the service](https://stackoverflow.com/a/38483406). the service and the underlying mqtt.js client instance uses one connection. Adapting the code to support multiple connections/clients In the...

I don‘t think exposing high availability nodes to endpoints is a good idea, except you really don’t care about duplicate messages. A mqtt cluster solution for example is provided by...

An example for usage is [here](https://sclausen.github.io/ngx-mqtt/) or what do you mean?

I posted a link to stackoverflow on an example how to use the factory pattern in [the comment above](https://github.com/sclausen/ngx-mqtt/issues/145#issuecomment-570672226)

I think the new setup with `@angular/cli` encourages examples inside a project. I'll put something together. Any wishes? @nosovk @AlxZchk @cedricve

Maybe, angular-translate could be included by default. One approach is how its done in [JanStevens/angular-growl-2](https://github.com/JanStevens/angular-growl-2)

I don't know your code, but did you simply put a `Button` inside your app? You need to wrap your code with a `ThemeProvider` like in their official [example](https://codesandbox.io/s/github/rebassjs/rebass/tree/master/examples/sandbox)

@Jnixon54 How did you managed to access the context?

I got it working. I didnt had to pass SuiModal, but Modal to the constructor of the component.

Okay, I'll dig into the code and prepare something.