![]() We recognize that many existing projects may continue to use Moment, but we would like to discourage Moment from being used in new projects going forward. The Moment team has discussed these issues at length. 4 alternatives to moment.js for internationalizing dates.You Probably Don't Need Moment.js Anymore.Recently, Chrome Dev Tools started showing recommendations for replacing Moment for the size alone. Libraries like Luxon (and others) take advantage of this, reducing or removing the need to ship your own data files. Modern web browsers (and Node.js) expose internationalization and time zone support via the Intl object, codified as ECMA-402. If one needs internationalization or time zone support, Moment can get quite large. Moment doesn't work well with modern "tree shaking" algorithms, so it tends to increase the size of web application bundles. Since this has already been accomplished in other libraries, we feel that it is more important to retain the mutable API.Īnother common argument against using Moment in modern applications is its size. We address it in our usage guidance but it still comes as a surprise to most new users.Ĭhanging Moment to be immutable would be a breaking change for every one of the projects that use it.Ĭreating a "Moment v3" that was immutable would be a tremendous undertaking and would make Moment a different library entirely. This is a common source of complaints about Moment. Given how many projects depend on it, we choose to prioritize stability over new features.Īs an example, consider that Moment objects are mutable. Moment has evolved somewhat over the years, but it has essentially the same design as it did when it was created in 2011. The modern web looks much different these days. ![]() ![]() Natalie Neysa Alund covers breaking and trending news for USA has been successfully used in millions of projects, and we are happy to have contributed to making date and time better on the web.Īs of September 2020, Moment gets over 12 million downloads per week! However, Moment was built for the previous era of the JavaScript ecosystem. We apologize to all the families and graduates who were impacted and are further looking into this matter to avoid it happening in the future." "The District does not condone the withholding of earned diplomas based on family members cheering for their graduates. The school did release a statement to WPVI, apologizing for the incident. I feel like that's unfair," said Abdur-Rahman. "If they thought that I shouldn't do 'The Griddy' across the stage and do the Girls' High traditions, nobody should have been able to wave or blow kisses or do period signs because I feel like that's the same thing. "I couldn't even enjoy the rest of the graduation," Abdur-Rahman told WPVI. She said other students were also denied diplomas during the ceremony, but they all received them later. The graduate told the outlet that the principal had warned students their families could not cheer or clap when they walked on stage and it was the laughter from the crowd the led to the principal's refusal. Kairan Quazi, 14, is the newest team member of SpaceX: 'Nobody winced at my age' 'I feel like that's unfair' ![]() Mesi could not immediately be reached for comment by USA TODAY on Friday. The school lists the principal on its website as Lisa Mesi. The school head then drops the diploma in a basket on the ground beside her. "I will never get that again."įatal collapse at Texas high school 1 dead, 3 injured after partial roof collapse at Texas high school, officials say Dancing with yellow flowersįootage shows Abdur-Rahman, dressed in all white and carrying yellow flowers, dance across the stage after her name is called.Īs she approaches the principal who holds her diploma, video shows the principal extend an arm implying she should return to her seat. "She stole that moment from me," Abdur-Rahman told WPVI, referring to the school's principal. ![]() The incident, captured on video, took place as Hafsah Abdur-Rahman and her classmates from Philadelphia High School for Girls, participated in the ceremony on June 9. Watch Video: Graduate says she was denied her diploma after dancing across stageĪ recent high school graduate in Philadelphia is speaking out after she was denied her high school diploma on stage for dancing during her graduation ceremony. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |