Closed taystack closed 1 year ago
I made a PR https://github.com/looker-open-source/components/pull/2976
Hopefully this change doesn't break anything - it shouldn't but I had troubles with development.
package.json
for linking the packages together. It's not clear how to install the dependencies for any one package.@looker/babel-*
stuff and how do I resolve it when I npm install
from components/packages/components-providers
?Thanks ya'll.
This is being tracked internally with ticket 255844186
@taystack we are actively working on a change to address this in our internal code base. Once complete we'll release a fix. Thanks.
@taystack this issue is resolved in v4.1.1
.
@taystack did this resolve your issue?
@guyellis, @mdodgelooker I've verified this works on React18 without any typescript issues. 🌮 thanks for this!
typescript
4.9.4
react
18.2.0
@looker/components
4.0.4
I am getting a typescript error when using the
<ComponentsProvider>
:See here:
Fix: I personally ran into this problem when upgrading to react 18.
FC
properties no longer expectchildren
, so custom properties need to be more explicit:I can make a PR for this if that helps.