Skip to content

feat: Create HybridViewRegistry to natively look up ViewConfig instead of JSON#1205

Draft
mrousavy wants to merge 5 commits intomainfrom
feat/native-view-config
Draft

feat: Create HybridViewRegistry to natively look up ViewConfig instead of JSON#1205
mrousavy wants to merge 5 commits intomainfrom
feat/native-view-config

Conversation

@mrousavy
Copy link
Owner

@mrousavy mrousavy commented Feb 4, 2026

Drops the View Config .json stuff, now you no longer need to do that.

Before:

import TestViewConfig from '../../nitrogen/generated/shared/json/TestViewConfig.json'

export const TestView = getHostComponent<TestViewProps, TestViewMethods>(
  'TestView',
  () => TestViewConfig
)

After:

export const TestView = getHostComponent<TestViewProps, TestViewMethods>(
  'TestView'
)

@vercel
Copy link

vercel bot commented Feb 4, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
nitro-docs Skipped Skipped Feb 4, 2026 8:13pm

Request Review

@mrousavy mrousavy changed the title feat: Create HybridViewRegistry feat: Create HybridViewRegistry to natively look up ViewConfig instead of JSON Feb 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant