Thomas Darling

Results 51 comments of Thomas Darling

Let's say we have a class, and that class needs e.g. the router injected. As I understand it, we currently have to apply the `@IRouter` decorator to that parameter -...

Oh, really not sure how I missed that `Registration.alias` method - Thanks! 🙂 Regarding the testing use case: I fully agree that using an interface is, at least from an...

Well, there are both pros and cons to either approach 🙂 I'm not sure this issue is the place for an extended discussion on the topic, but just to clarify...

Haha, lol - yeah, I guess there is some overlap in the topics and examples involved here 🤣 But ok, it all makes sense then - I just thought this...

Since you're mentioning project structure here, I thought I'd share the ones I've been using for the past few years. We used a variant of this for the rewrite of...

A few more comments on AOT in general :-) From my point of view, recommendations are good, but rules are more often than not dangerous. I'm not sure what you...

What is the recommended way to implement lazy-loading with this new router? In v1, components are referenced as e.g. `PLATFORM.moduleName("./pages/foo", "foo")`, where the second parameter is the chunk name -...

What is the recommended way to dynamically configure routes and child routes at runtime? In v1 we had the `configureRouter` method in each component, where we could manually configure the...

Thanks, sounds good 🙂 I did some more digging based on option 2 - would it be correct to assume, it will look something like this? ```ts @inject export class...

Sounds great, thank you! 🙂 Regarding docs, I agree, this pretty much covers everything - at least everything I can think of right now. I mostly just asked, in case...