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
{{ message }}
This repository has been archived by the owner on Sep 19, 2023. It is now read-only.
<template><fragment><p>Hello from Vue</p><hello-from-reactfoo="bar" />
</fragment></template>
In React:
interfaceProps{foo: string;}constHelloFromReact=(props: Props)=>{console.log(props);//<-- This proves the passing of a `fragment` prop that is unexpected; `foo` is also there which is okay.return<p>Hello from React typescript</p>;};exportdefaultHelloFromReact;
This will break strict props validation that we will be adding in the future. Can vuera please ONLY pass props that are being specified in the template that calls the React component?
The text was updated successfully, but these errors were encountered:
Why is this being done?
In Vue:
In React:
This will break strict props validation that we will be adding in the future. Can vuera please ONLY pass props that are being specified in the template that calls the React component?
The text was updated successfully, but these errors were encountered: