Repository navigation
feat(vue-lang): run on lang-core's renderer runtime - #1802
Open
Aditya-thesys wants to merge 59 commits into
Open
Aditya-thesys wants to merge 59 commits into
Aditya-thesys wants to merge 59 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
This was referenced Dec 4, 2026
Aditya-thesys
force-pushed
the
surfaces/web-vue
branch
from
December 4, 2026 12:41
5bea4fb to
8eb4cd6
Compare
Aditya-thesys
force-pushed
the
surfaces/web-vue
branch
from
December 4, 2026 17:25
b701ec1 to
9a67501
Compare
Aditya-thesys
force-pushed
the
surfaces/web-vue
branch
from
December 5, 2026 14:01
14c961b to
9e37011
Compare
Aditya-thesys
force-pushed
the
surfaces/web-vue
branch
from
December 5, 2026 14:23
9e37011 to
4ce0cbc
Compare
Aditya-thesys
force-pushed
the
surfaces/web-core
branch
from
December 5, 2026 14:23
78fac13 to
a929a64
Compare
Aditya-thesys
force-pushed
the
surfaces/web-vue
branch
from
December 5, 2026 16:12
b99bc85 to
6ed7b0d
Compare
…"field.value" binds an input (lang-core's StateField types value as writable; the getter-only object threw on the first keystroke); README shows v-model
…r its own error is the first message; vue peer range ^3.5.0
…orted through onError as render-error (last render kept, errorHandler not called); event handlers, watchers run by other state and async code go to the app's errorHandler (tested)
…penuidev/vue-lang explicitly (Nuxt auto-imports Vue's versions)
… from lang-core again; Vue's SFC compiler from 3.5.28 resolves defineProps<ComponentRenderProps<…>>() through lang-core's declarations
…rer and cleared once it has left the Renderer's boundaries, so a later render that throws the same value is reported (tested)
…derNode :value> renders children in templates, and Renderer and Renderer.Root are generic over the library so @action's event is typed by its custom actions (types only)
…, RenderNode for children, @action/@error/@state-update on Renderer; render functions move to an appendix
…yJSONSchema exported again; ci type-checks the .vue type tests with vue-tsc
…dererContent/... names in the slots example; ActionConfig and LibraryJSONSchema from @openuidev/vue-lang; field.value is live, a destructured value is a snapshot; with server rendering, $state defaults and initialState apply on the client
…h custom actions pass to Renderer and h(Renderer, props) (type test)
…t task, also when a component on the way stops it, so a later render that throws the same value is caught (tested)
…ed, also undefined from an element not yet streamed in full (tested)
Aditya-thesys
force-pushed
the
surfaces/web-vue
branch
from
December 6, 2026 16:24
cdbefdc to
1714193
Compare
…ck the element it showed; the new element stays and the error names the removed component until the element changes. A plain Vue child that throws re-rendering itself is caught by its element's boundary (tested)
… local named h for Vue's h when the example links the package
… Angular examples; the examples move to 1.3 from npm once it is published
….4; ComponentRenderProps is declared in vue-lang again, so the SFC compiler before 3.5.28 resolves defineProps<ComponentRenderProps<typeof Schema>>() (checked in a Vue 3.5.0 Vite app)
… resolve lang-core's declarations in any project
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on #1800: this PR targets
surfaces/web-core, so it shows only the vue-lang changes. After #1800 merges, GitHub retargets it tomain.What
Rebuilds vue-lang as a thin view layer over
@openuidev/lang-core/runtime. It reaches react-lang's feature set:$state, queries and mutations, action plans, custom actions, library functions, form validation, structured errors throughonError, renderer slots and an element error boundary that keeps the last valid render.Changes
Renderer.ts,RenderNode.ts); no.vuefiles ship. One renderer runtime perRenderer(useRendererRuntime.ts).onMounted.<Renderer>land on its rootdiv;createFormValidation().errorsstays current when destructured; a component without apropsoption receivespropsandrenderNodeas attrs; a server render callsonParseResultandonError.librarystarts a new message: its state resets and its queries run again. Build the library once at module scope.ActionConfig,LibraryJSONSchema,TriggerAction,DefaultValueRequestandFieldErrors; import them from@openuidev/lang-core.~1.3.0) instead of 0.4. Declarations are emitted throughtsconfig.build.json..changeset/config.jsonis as on main). Its version is aligned to 1.2.1, so the minor changeset releases it as 1.3.0.Test Plan
vue-tsc --noEmit, build,verify-peer-windows; lang-core (371) and react-lang (92) tests pass on this branch.Checklist
Notes
pnpm-lock.yamlconflicts with the Svelte and Angular PRs once one of them is merged. Regenerate it withpnpm install --lockfile-only.Follow-ups
readSourceTarget,bindSource),useDataSources,WithPreviewRenderer/useRendererPreview, observability publishing.$vardefaults or restoredinitialState.