'react show error "support for the experimental syntax 'jsx' isn't currently enabled" when I install react-pagination
so I'm trying to use react-pagination for my react-bootstrap application and when I try to import ReactPagination component it shows some error which is "Support for the experimental syntax 'jsx' isn't currently enabled (25:7)" and I wasn't able to use any of component included in React-Pagination Library.
it show some solution like this: Add @babel/preset-react (https://git.io/JfeDR) to the 'presets' section of your Babel config to enable transformation. If you want to leave it as-is, add @babel/plugin-syntax-jsx (https://git.io/vb4yA) to the 'plugins' section to enable parsing. But I don't think I have any babel file, where can i locate one ? if it's not available where should i create this file ?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
