Artur Drobinskiy
Artur Drobinskiy
Currently there are some libraries to do that (e.g. https://iendeavor.github.io/import-meta-env/), but having this built-in would be great
I guess, MUI [requires React 17+](https://mui.com/material-ui/getting-started/supported-platforms/#react), so for material-ui-popup-state v2+ requiring React 17+ shouldn't be a problem as well, or am I wrong? Unfortunately I forgot about HOC version (``),...
It's not per se reducing the file size, but it's possible to move from Classes to Modules, so that the code becomes treeshakable. Check out: https://github.com/Shaddix/react-query-swagger/#clients-as-modules Lib is based on...
Kind of. In case of a single Client 'class' (if multiple they'd be split by files), here's what there is: 1. The file with types: https://github.com/Shaddix/react-query-swagger/blob/master/examples/pet-client/src/api/no-hooks-client.ts 2. The folder with...
Faced this issue as well. If there are any suggestions on how it could be implemented/workarounded from outside of craft.js, I'd be glad to hear :)
seems like the 2nd point is not actually needed, if react-dom is shimmed in react-native project.
here's an example repo with react-native project: https://github.com/Shaddix/craft_js_native (though, it only works if `node_modules/@craftjs/utils/dist` folder is replaced with compiled version from PR branch (i.e. if it uses `nanoid/non-secure`)
aforementioned repo contains JSON 'markup': https://github.com/Shaddix/craft_js_native/blob/master/craft/content.json which is rendered via craftjs in react-native. If you wish, I could come up with a better looking example and add it to `examples`...
@ggunti that's quite interesting! Though, as I see you are using CraftJS on the Editor side, and then generate a regular react-native code to be added to a project. My...
nice, I haven't found this feature while quickly going through your website, probably missed it. I'm gonna try again with latest version, maybe it's gonna work, thanks for the advice!