You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 11, 2021. It is now read-only.
But, naturally, that's a bit ugly and I'd rather not. :)
I'm trying to use main.* to define fairly generic code that I can carry between apps mostly or highly unchanged. Is it at all possible to get access to ReactBootstrap and other server-side Bower libraries from other files loaded earlier?
Thanks.
The text was updated successfully, but these errors were encountered:
Loading react-bootstrap like so:
In lib/main.jsx I can do:
And I can render react-bootstrap components client and server-side. Neat.
The problem arises when I try:
in lib/transit.jsx. I'm told that ReactBootstrap is undefined.
I've had to result to this:
But, naturally, that's a bit ugly and I'd rather not. :)
I'm trying to use main.* to define fairly generic code that I can carry between apps mostly or highly unchanged. Is it at all possible to get access to ReactBootstrap and other server-side Bower libraries from other files loaded earlier?
Thanks.
The text was updated successfully, but these errors were encountered: