Components get harder to maintain as they grow larger. Sometimes it is not obvious how to split a bloated component into smaller components. The code gets more noisy and they become hard to reason about.
In this post, I am going to introduce the idea of "renderless components" which could potentially help you improve your components.
Let’s take a look at how we can build a simple renderless component for handling lifecycle hooks.
In the following example you can see how we can use our newly created
FrameHooks component in combination with a renderless
ArticleListFrame component to trigger an API request for fetching a list of articles.
It currently supports the following stacks:
Recently, NativeScript 5.0 was released by Progress Telerik. Improvements in this version are more relevant to tooling and developer experience. Features in this version are listed below:
tns plugin create
This the area where NativeScript shines. NativeScript has an outstanding tooling support.
You can work with NativeScript in 2 ways.
1) On a Local machine
2) Using a WebIDE
CSS properties can be declared