string-to-react-component
Version:
Dynamically create and render React components from strings at runtime, converting strings to React components for flexible UI generation.
54 lines (27 loc) • 864 B
Markdown
## version 4.0.1
Improve documentation
## version 4.0.0
- Fix source map issue
- Fix next js issue
- default sourceMaps value is `inline`
- Now string code can be empty
- Improve error handling
- Remove global `React` variable
- Change version of `@babel/standalone`
## version 3.1.1
- Update dependencies
- Provide Online Examples
## version 3.1.0
- Adding `@babel/standalone` package into `peerDependencies` list
- using typescript
## version 3.0.0
- `data` prop should be used for passing unknown elements to the component
- adding `babelOptions` prop
- update peerDependencies versions
## version 2.0.0
- upgrade react and react-dom peerDependencies to v18.2.0
## version 1.0.1
- update README.md
## version 1.0.0
- update peerDependencies :
update react and react-dom to 18.1.0