R
R
Roman Rakzin2020-04-17 09:56:05
Angular
Roman Rakzin, 2020-04-17 09:56:05

How to split a large angular file into many files while still staying in the same class?

There are partial classes in c# and you can keep a lot of data in one class, which will be in different files.
Why don't I want to create subclasses and nest them? - then it will be difficult to interact in a top-down hierarchy. And in Typescript and Angular, I did not find such a way to split a huge file into parts as if all the methods were in one place.
Please tell me how to implement this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Aetae, 2020-04-18
@Aetae

For something like this, you can use mixins, with the help of some thread or directly .
It's not exactly crutches, but there is nothing better.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question