This example shows a simple search form that filters prefetched data.
It is using the Mitosis pattern for stage management.
A live example can be seen here on this website.
The snippet requires the latest version of Mithril.js framework.
More advanced users should be able to follow this example, however it contains some first difficulties.
In this example we can see some Mithril.js API methods like m.mount or m.request, besides Mithril.js' basic m() hyperscript function.
It also demonstrates, how Mithril.js' lifecycle methods (aka hooks) like oninit, oncreate and onupdate can be used.
The code sample was authored by tbreuss. It was last modified on 27 November 2021.
Want to see more examples written by tbreuss? Then Click here.
Do you see some improvements, that could be addressed here? Then let me know by opening an issue.
As an alternative, you can fork the repository on GitHub, push your commits and send a pull request.
To start your work, click on the edit link below. Thank you for contributing to this repo.