Kunafa v0.2.0-beta.1 released

Islam Abdalla
The Kotlin Chronicle
1 min readApr 4, 2019

Kunafa is an easy to use, high level framework in Kotlin for front-end web-development. It allows developers to create web apps without using HTML, CSS, or JavaScript.

Kunafa v0.2.0-beta.1 has been released. To use it in a Kotlin JS project, simply add the following line to the build.gradle file

compile 'com.narbase:kunafa:0.2.0-beta.1'

This release includes the following changes:

Added new lifecycle stage `onViewCreated`

A new lifecycle stage has been added to the view. This stage is called once when the view is first created. Currently, these are the lifecycle events of a view:

If you are using MVVM with Kunafa, `onViewCreated` is the recomemnded stage to set up the observers.

Function `addChild` renamed to `mount`

In view, function `addChild` has been renamed to `mount`. Now it is more obvious that when this function is called, the functions `viewWillMount` and `onViewMounted` of the child view will be called.

Other bug fixes

Small bug has been fixed in this release.

Conclusion

That’s all for this release. If you haven’t tried Kunafa yet, follow this Getting started guide.
We would really like to hear from you. Give it a try and let us know what you think. Also, don’t forget to join us at Slack here, and leave us a star in Github.

--

--