Comments (6)
Hm, thanks for the issue @heinzmuller. Let me see if I can repro
from react-string-replace.
I think this might be the same as #4. 2eebd4f might address this. @heinzmuller if you upgrade to the latest release and are still seeing errors please let me know.
from react-string-replace.
@iansinnott Seems to be the same issue, will test later today and get back to you :)
from react-string-replace.
@iansinnott Sorry for the late reply, I have tested today and for my use cases it now works as expected, thanks!
from react-string-replace.
Glad to hear it š
from react-string-replace.
Iām having a similar issue with 0.4.2. Getting an empty string at the end of the array replacing only one item at the end of the string: 'published {relativeTime}'
returns ['published', Object, '']
.
from react-string-replace.
Related Issues (20)
- Works with splitted element HOT 1
- Typescript definitions are wrong (I think) HOT 1
- Is there any way to run the replace on only the first match? HOT 3
- Match is blank? HOT 2
- ES6 Module declaration HOT 1
- Multiple replacements in a string are not working properly HOT 2
- [object Object] Gets returned from the reactStringReplace() function HOT 3
- Not properly finds substrings if they are consecutive or at the end of the phrase HOT 2
- Capture groups? HOT 4
- Natural index numbers on callback function HOT 2
- Remove lodash HOT 4
- Cannot read property "length" of undefined HOT 6
- Publish v0.5.0 to NPM HOT 2
- It doesn't work with input fields! - What should I do? [Update: it does!] HOT 3
- Boundary condition checks and arguments check is missing
- ReactNodeArray is deprecated HOT 2
- I have a problem with '/r' in text. It not working '/r' HOT 1
- React.ReactNodeArray is deprecated HOT 2
- Certain regex doesn't seem to work
- Encountered undefined value during string replacement and weird behaviour
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
š Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ššš
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ā¤ļø Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-string-replace.