react-render-html
react-render-html copied to clipboard
Change return type of renderHTML func in index.js
When i worked on a project i used this library. I thought it would be a good idea that renderHTML function always returns an array even if it has only one element in the array, because i often find myself in situations where i needed to use functions like map, filter,..., to iterate over the elements of the array that renderHTML returns.