tldraw/packages/state
Dan Groshev 86cce6d161
Unbiome (#2776)
Biome as it is now didn't work out for us 😢 

Summary for posterity:

* it IS much, much faster, fast enough to skip any sort of caching
* we couldn't fully replace Prettier just yet. We use Prettier
programmatically to format code in docs, and Biome's JS interface is
officially alpha and [had legacy peer deps
set](https://github.com/biomejs/biome/pull/1756) (which would fail our
CI build as we don't allow installation warnings)
* ternary formatting differs from Prettier, leading to a large diff
https://github.com/biomejs/biome/issues/1661
* import sorting differs from Prettier's
`prettier-plugin-organize-imports`, making the diff even bigger
* the deal breaker is a multi-second delay on saving large files (for us
it's
[Editor.ts](https://github.com/tldraw/tldraw/blob/main/packages/editor/src/lib/editor/Editor.ts))
in VSCode when import sorting is enabled. There is a seemingly relevant
Biome issue where I posted a small summary of our findings:
https://github.com/biomejs/biome/issues/1569#issuecomment-1930411623

Further actions:

* reevaluate in a few months as Biome matures

### Change Type

- [x] `internal` — Any other changes that don't affect the published
package
2024-02-07 16:02:22 +00:00
..
api Remove deprecated getters (#2333) 2023-12-19 10:39:58 +00:00
src Update the project to Node 20 (#2691) 2024-01-31 16:53:40 +00:00
api-extractor.json Incorporate signia as @tldraw/state (#1620) 2023-06-20 13:31:26 +00:00
api-report.md Remove deprecated getters (#2333) 2023-12-19 10:39:58 +00:00
CHANGELOG.md Update CHANGELOG.md [skip ci] 2023-12-20 15:27:34 +00:00
docs-ordering.json Unbiome (#2776) 2024-02-07 16:02:22 +00:00
LICENSE.md unbrivate, dot com in (#2475) 2024-01-16 14:38:05 +00:00
package.json dev: add test-dev command for easier testing of packages (#2627) 2024-01-29 10:29:38 +00:00
README.md Incorporate signia as @tldraw/state (#1620) 2023-06-20 13:31:26 +00:00
tsconfig.json Incorporate signia as @tldraw/state (#1620) 2023-06-20 13:31:26 +00:00

@tldraw/state

...