Skip to content
Discussion options

You must be logged in to vote

Phcode doesn't currently support live preview with element highlighting for React applications. While the built-in server works well with static HTML files for highlighting elements, this functionality hasn't been extended to React applications yet.

The behavior you're experiencing is expected. When using a custom Vite server for your React app, you'll see your app rendering correctly, but the bidirectional highlighting feature (clicking elements in preview to highlight code and vice versa) isn't available for React components.

We've added your feature request to our backlog as we're considering implementing React component highlighting in future releases. #2186

For now, static HTML/CSS/J…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by abose
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants