* wip * fix measure on first render * wip * refactor * tsc * remove fragment * refactor (again) * cleanup
closes #2798