Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

What to use instead of `@ember/string`

Posted on Oct 20 @ember/string is trying to be phased out -- I've found that change-case is a better alternative to @ember/string, because it supports more transformations, is true native ESM, and can be anywhere, even outside of ember, or in plain html files!Here is how you migrate:If you use camelize in @ember/string, use this instead:If you use capitalize in @ember/string, use this instead:If you use classify in @ember/string, use this instead:If you use dasherize in @ember/string, use this instead:If you use decamelize in @ember/string, use this instead:If you use underscore in @ember/string, use this instead:## wIf you use w in @ember/string, use this instead:Templates let you quickly answer FAQs or store snippets for re-use. Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink. Hide child comments as well Confirm For further actions, you may consider blocking this person and/or reporting abuse LiwenWang - Oct 15 Kevin Toshihiro Uehara - Oct 14 Andrew Lee - Sep 22 Alfonsina Lizardo - Sep 25 Once suspended, Nullvoxpopuli will not be able to comment or publish posts until their suspension is removed. Once unsuspended, nullvoxpopuli will be able to comment and publish posts again. Once unpublished, all posts by nullvoxpopuli will become hidden and only accessible to themselves. If nullvoxpopuli is not suspended, they can still re-publish their posts from their dashboard. Note: Once unpublished, this post will become invisible to the public and only accessible to NullVoxPopuli. They can still re-publish the post if they are not suspended. Thanks for keeping DEV Community safe. Here is what you can do to flag nullvoxpopuli: nullvoxpopuli consistently posts content that violates DEV Community's code of conduct because it is harassing, offensive or spammy. Unflagging nullvoxpopuli will restore default visibility to their posts. DEV Community — A constructive and inclusive social network for software developers. With you every step of your journey. Built on Forem — the open source software that powers DEV and other inclusive communities.Made with love and Ruby on Rails. DEV Community © 2016 - 2023. We're a place where coders share, stay up-to-date and grow their careers.



This post first appeared on VedVyas Articles, please read the originial post: here

Share the post

What to use instead of `@ember/string`

×

Subscribe to Vedvyas Articles

Get updates delivered right to your inbox!

Thank you for your subscription

×