Uncaught TypeError: strings.split is not a function
See original GitHub issueDo you want to request a feature or report a bug? buy
What is the current behavior?
When renderInnerHtml
is set to true
and a string with inner html is rendered, it will return TypeError: strings.split is not a function
.
Which versions of react
and react-localize-redux
are you using?
“react”: “^16.8.4”,
“react-localize-redux”: “^3.5.2”,
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (2 by maintainers)
Top Results From Across the Web
What is causing the error `string.split is not a function`?
This is because document.location is a Location object. The default .toString() returns the location in string form, so the concatenation will trigger that....
Read more >[Solved] TypeError: split is not a function - ItsJavaScript
The TypeError: split is not a function occurs if we call a split() method on the value that is not of a type...
Read more >TypeError: split is not a function in JavaScript | bobbyhadz
The "TypeError: split is not a function" error occurs when we call the split() method on a value that is not of type...
Read more >How To Fix Split is Not a Function Error in JavaScript - Isotropic
The Problem. First and foremost it is important to understand the usage of the split() method. It can only be used on strings...
Read more >Error: split is not a function - JavaScript - SitePoint Forums
I have a string that is a latitude and longitude pair separated by a comma. I'm trying to separate the 2 parts of...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
For the
options
that passed toinitialize
, I have used something like thisHope it can help.
Thank you @WillisShek, it is very helpful!