mirror of
https://github.com/flarum/framework.git
synced 2024-11-25 09:41:49 +08:00
Simple forum software for building great communities.
82be1cea5d
Interesting bug. Turns out that the JSX for the post header item list was producing m('ul', null, [children]), as you would expect. But Mithril 0.1.x interprets the null as another child rather than an attributes splat. This results in an empty text node being added to the DOM, which mucks up Mithril's diffing algorithm when it tries to add/move the items that we provide in the children array. The workaround is to not use JSX so we can get rid of that null/empty text node. This behaviour has been fixed in Mithril 1.0 so we will be able to remove the workaround. |
||
---|---|---|
error | ||
js | ||
less | ||
migrations | ||
scripts | ||
src | ||
stubs | ||
tests | ||
views | ||
.editorconfig | ||
.gitattributes | ||
.gitignore | ||
.styleci.yml | ||
.travis.yml | ||
composer.json | ||
CONTRIBUTING.md | ||
LICENSE | ||
phpunit.xml | ||
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.