Questions tagged [web-components-shards]
4 questions
3
votes
2 answers
Warning: Failed prop type: Invalid prop `tag` supplied to `NavLink`
I'm currently trying to integrate a shard-dashboard into my react app. Everything works pretty well, except that the search-navbar is scaled way too big. The console gives me the following error:
"Warning: Failed prop type: Invalid prop tag…

Unnamedplayer21
- 121
- 2
- 9
2
votes
2 answers
Specifying different imports for Angular Module if it is exported as a custom element
I've got a module which I need to use in two places. One inside an Angular application and another as a custom element on its own for use in other places where we are dropping into legacy systems.
The issue arises due to AngularElements requiring…

AndyD
- 875
- 7
- 18
1
vote
1 answer
react shards history.push only appends to url, will not redirect
I have a signup component which has a form, and a handleFormSubmit. It calls an api to route to the server which runs a sequelize create. That all works, but once the row is inserted, I would like to redirect to a certain view.
Currently in the…

kenneth2k1
- 53
- 11
0
votes
1 answer
How do I use Web Component Shards?
There's a new project for, what it seems to me to be, a way to vulcanise elements in bundles, web-components-shards.
I'm interested in the gulp version, gulp-web-components-shards.
Both projects lack comprehensive instructions in the README, how…

nicholaswmin
- 21,686
- 15
- 91
- 167