Closed b3nten closed 2 years ago
Whats the status of this, is it ready to merge?
One tiny request, can we get some color on the questions asked? Maybe the same blue used in the "congrats" message at the end
Will need to update the imports to link to the files in this repo, and some of the templates need to be tested to make sure they work.
Also I think long term it might be best to create locally the required components rather than importing them. I thought it might be too messy but I think the explicitness of it might be better. It's something we can ponder in the meantime.
Great job Benton! 🚀🚀🚀
I think we should, at least for now, go the route of creating all required files locally.
I think we should, at least for now, go the route of creating all required files locally.
Is this in reference to the files that are downloaded from the repo?
I think we should, at least for now, go the route of creating all required files locally.
Is this in reference to the files that are downloaded from the repo?
The files in modules
that are imported rather than created. For example, useFlushAsyncWhateverTheNameIs
Oh no, right I see what you mean. Yeah I'd like the files to be local, gives developers a chance to modify if they so choose.
Oh no, right I see what you mean. Yeah I'd like the files to be local, gives developers a chance to modify if they so choose.
Should be a trivial change, I can push something up tonight.
For the Twind issue that was resolved, was there something in particular that was implemented wrong?
Oh no, right I see what you mean. Yeah I'd like the files to be local, gives developers a chance to modify if they so choose.
Should be a trivial change, I can push something up tonight.
For the Twind issue that was resolved, was there something in particular that was implemented wrong?
@mashaal best to answer that
Oh no, right I see what you mean. Yeah I'd like the files to be local, gives developers a chance to modify if they so choose.
Should be a trivial change, I can push something up tonight.
For the Twind issue that was resolved, was there something in particular that was implemented wrong?
It seems it was missing the twind.ts Deno block here. https://github.com/exhibitionist-digital/ultra/blob/main/examples/with-twind/twind.ts#L4-L12
And then I got a useDehydratedState issue with react-query. https://github.com/exhibitionist-digital/ultra/blob/main/examples/with-react-query/src/hooks/useDehydrateReactQuery.tsx
That issue raised covered a heap of surface area. react-query, react-router, trpc, twind, helmet -- I was able to get it to work after a few mins of localising the twind and query dependencies, but I'm certain this level of integration could be a bit more elegant. https://github.com/exhibitionist-digital/ultra/issues/153
Oh no, right I see what you mean. Yeah I'd like the files to be local, gives developers a chance to modify if they so choose.
Should be a trivial change, I can push something up tonight. For the Twind issue that was resolved, was there something in particular that was implemented wrong?
It seems it was missing the twind.ts Deno block here. https://github.com/exhibitionist-digital/ultra/blob/main/examples/with-twind/twind.ts#L4-L12
And then I got a useDehydratedState issue with react-query. https://github.com/exhibitionist-digital/ultra/blob/main/examples/with-react-query/src/hooks/useDehydrateReactQuery.tsx
That issue raised covered a heap of surface area. react-query, react-router, trpc, twind, helmet -- I was able to get it to work after a few mins of localising the twind and query dependencies, but I'm certain this level of integration could be a bit more elegant. #153
sheet should have been provided here https://github.com/B3nten/ultra/blob/create/lib/create/modules/twind/content/twind.ts
But regardless it was missing useDehydrateReactQuery which was obviously an issue. I'll try to get something up tonight that should fix those issues. And try to make it more elegant
Okay, I think this is ready to merge. The current create
script is broken so this wouldn't be any worse. I've disabled TRPC until I can confirm it works.