You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import { next as Am } from "npm:@automerge/automerge"
automerge.next
import * as automerge from "npm:@automerge/automerge/slim";
Automerge
import { next as Automerge } from "@automerge/automerge/slim";
To be clear, I'm not referring here to the different sources of imports, just to the name by which the "next" object is accessed in user code.
I don't see a reason for these to be different from each other. If that's right, it would be easier to understand the code and compare the approaches if they were the same.
Is there a preferred name? If so, I'd be happy to make the change.
Thanks!
The text was updated successfully, but these errors were encountered:
The page https://automerge.org/docs/library_initialization/ uses four different conventions for accessing "next" in Automerge:
import { next as A } from "@automerge/automerge"
import { next as Am } from "npm:@automerge/automerge"
import * as automerge from "npm:@automerge/automerge/slim";
import { next as Automerge } from "@automerge/automerge/slim";
To be clear, I'm not referring here to the different sources of imports, just to the name by which the "next" object is accessed in user code.
I don't see a reason for these to be different from each other. If that's right, it would be easier to understand the code and compare the approaches if they were the same.
Is there a preferred name? If so, I'd be happy to make the change.
Thanks!
The text was updated successfully, but these errors were encountered: