.NET library for JSX compilation and server-side rendering of React components
2.28k
stars
940
forks
source link
code is not working date ,title,amount is not defined error is showing but it is already defined #1339
Open
Divyanshua1 opened 12 months ago
import React from 'react'; import Video from './components/Video'; function App() {
let subscription = [ { id: "1", date: new Date('2021', '03', '15'), Title: "Monthly Subscription", amount: "1325.60"
]; let date = new Date('2021', '08', '15'); let Title = "Monthly Subscription"; let Amount = '125.50';
return ( <>
); } export default App;