Popular questions

Why should I use Akili?

  • it is very easy to learn, use and test
  • it does not require any additional dependencies
  • it might be used without javascript compilation in all modern browsers
  • it is a pure, lightweight, expandable and powerful framework

What is the philosophy?

  • convenience and speed of development with acceptable performance
  • smart and powerful extension over html
  • no magic

How can I replace/extend some system component with my own?

import Akili from 'akili';
import Input from 'akili/src/components/input';

class MyInput extends Input {
  compiled() {
    super.compiled.apply(this, arguments);
    this.myOwnMethod();
  }

  myOwnMethod() {
    // do something
  }
}

MyInput.define();

document.addEventListener('DOMContentLoaded', () => {
  Akili.init().catch((err) => console.error(err));
});

How can I access one component in another?

Use communication methods between the components.

How do I need to share my business data between the components?

Use store to save and distribute the data.

How can I get the routing data?

There are several ways.

How can I attach my component to a specific element, but not by a tag?

You can use the aliases.

Does the framework support server-side rendering?

Akili is not isomorphic, but we made akili-connect library for nodejs that can do it.

How can I write my own library for the framework?

Look it up.

Is this site written using Akili?

Sure =)

How can i help the project?

  • create some cool project usings the framework, like this =)
  • tell your friends about it
  • offer new interesting ideas
  • give a feedback about bugs
  • support financially