Mui-datatables: The CodeAndSandBox examples are broken

Created on 5 Feb 2020  路  4Comments  路  Source: gregnb/mui-datatables

The CodeAndSandBox examples are broken

Steps to Reproduce (for bugs)

"ModuleNotFoundError
Could not find module in path: '@babel/runtime/helpers/builtin/interopRequireDefault' relative to '/node_modules/@material-ui/core/Paper/index.js'"

enhancement

All 4 comments

Thanks for reporting @JuanmaMenendez

So, this library could use a demo website that would illustrate many examples, but it's a lot to build and maintain for me at this point, so probably not something I could do for a while. I also can't directly update that example because I don't own that codesandbox.

I should probably put up a new example and remove the old one.

Ah, so this is the same Codesandbox as the one linked on this website: https://libraries.io/github/gregnb/mui-datatables
Maybe an old version of the Github home page (aka the README)?

Because now from https://github.com/gregnb/mui-datatables it's https://codesandbox.io/s/github/gregnb/mui-datatables and although it's a bit long to load (all the compiling & tests & stuff..) you can browse each example in the embedded browser...

After thinking a bit, I think making people wait a while may discourage them from poking around. I've updated the Demo section to have both a link to a lightweight example as well as a link to the full repo's worth of examples.

Also, looks like the codesandbox in the original issue is mistakenly pointing to Material UI v1, which is why it wasn't working.

That's great, thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

aramkoukia picture aramkoukia  路  3Comments

alexanderwhatley picture alexanderwhatley  路  4Comments

geekashu picture geekashu  路  3Comments

kylane picture kylane  路  3Comments

cahna picture cahna  路  3Comments