Results 13 comments of Mateusz Turcza
trafficstars

Hi! Thanks for pointing that out. I'm planning on making the code PHP 8.4 compatible, as well as use new DOM parsing abilities provided by [`DOM\HTMLDocument`](https://wiki.php.net/rfc/domdocument_html5_parser#interoperability_between_domdocument_and_dom_htmldocument).

This happens because `create-react-app` doesn't support `*.cjs` files. So `require('date-fns')` returns a string (more specifically, a URL to a `*.cjs` file), instead of a JS module object. Hence the error....

This happens because `create-react-app` doesn't support `*.cjs` files. So `require('date-fns')` returns a string (more specifically, a URL to a `*.cjs` file), instead of a JS module object. Hence the error....