MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/javascript/comments/7ytegt/optional_chaining_may_be_coming_to_javascript/dujd69f/?context=3
r/javascript • u/gregbaugues • Feb 20 '18
100 comments sorted by
View all comments
Show parent comments
11
Plus we use Babel in our workflow where I work so I guess I can use this right now!
But if syntax changes or it even never makes it to the standard as well, you will have to update your codebase.
9 u/[deleted] Feb 20 '18 Small price to pay. In-fact you could probably codemod it out if needs be. 10 u/vinnl Feb 20 '18 If such a codemod is available/you're able/willing to write it yourself. In any case, it's a good thing to be aware of before blindly adopting it - I'm afraid many people aren't afraid what "stage 1" means. 1 u/alchemoria Feb 20 '18 Your slashes are confusing 2 u/vinnl Feb 20 '18 Sorry I know, I wasn't up to spending more time on reworking that comment :P
9
Small price to pay. In-fact you could probably codemod it out if needs be.
10 u/vinnl Feb 20 '18 If such a codemod is available/you're able/willing to write it yourself. In any case, it's a good thing to be aware of before blindly adopting it - I'm afraid many people aren't afraid what "stage 1" means. 1 u/alchemoria Feb 20 '18 Your slashes are confusing 2 u/vinnl Feb 20 '18 Sorry I know, I wasn't up to spending more time on reworking that comment :P
10
If such a codemod is available/you're able/willing to write it yourself. In any case, it's a good thing to be aware of before blindly adopting it - I'm afraid many people aren't afraid what "stage 1" means.
1 u/alchemoria Feb 20 '18 Your slashes are confusing 2 u/vinnl Feb 20 '18 Sorry I know, I wasn't up to spending more time on reworking that comment :P
1
Your slashes are confusing
2 u/vinnl Feb 20 '18 Sorry I know, I wasn't up to spending more time on reworking that comment :P
2
Sorry I know, I wasn't up to spending more time on reworking that comment :P
11
u/vinnl Feb 20 '18
But if syntax changes or it even never makes it to the standard as well, you will have to update your codebase.