mirror of
https://github.com/flarum/framework.git
synced 2024-11-24 15:37:36 +08:00
Simple forum software for building great communities.
d1c436c4d5
Since Mithril doesn't really offer granular redraw control, typing in a text input on a modal would trigger a redraw for the whole page (including the page content behind the modal) on every keystroke. This commit allows components to be "paused" so that their vdom subtree will be retained instead of reconstructed on subsequent redraws. When a modal is opened, we pause the main page component, and when it's closed, we unpause it. This means that while a modal is visible, only the content inside of the modal will be redrawn, dramatically improving performance. |
||
---|---|---|
assets/fonts | ||
error | ||
js | ||
less | ||
migrations | ||
scripts | ||
src | ||
stubs | ||
tests | ||
views | ||
.editorconfig | ||
.gitattributes | ||
.gitignore | ||
.styleci.yml | ||
.travis.yml | ||
CHANGELOG.md | ||
composer.json | ||
CONTRIBUTING.md | ||
LICENSE | ||
README.md |
Flarum Core
This repository contains Flarum's core code. If you want to set up a forum, visit the main Flarum repository.
Contributing
Flarum is open-source and we would love your help building it! Please read the Contributing Guide to learn how you can help.