-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade to react-static 6 #859
Upgrade to react-static 6 #859
Conversation
@NavyAdmiral awesome cheers 🍺 👍 to I'll take a deeper look at the PR today. Also thanks for the input @tannerlinsley 😄 |
@NavyAdmiral I think a lot of the failures are due to importing
|
8c3129e
to
20639f0
Compare
8a0d552
to
118f45c
Compare
@rupurt Do you have any idea why just switching to |
@NavyAdmiral the geth tests run the e2e tests. You can replicate this by running The incorrect positioning is due to the
It looks like the lint task has always been returning a 0 exit code due to snazzy. I've created a new WIP PR to fix it #883
There are currently no plans to restructure the project but we've discussed it. We previously had multiple |
@rupurt The thing is it used to work fine without Geth failing is okay as that can be fixed, but I don't know why truffle's failing |
da4b456
to
28cd289
Compare
Fixed by adding `skipOnMount`. Still, why broke it anyway?
159a3e4
to
44b7a10
Compare
Package react-use-hooks no longer needed with RS6. Waiting on react-static/react-static#958 |
Closing in favor of #919 |
## Motivation The `GetTransfers()` functions (bridges), are lacking checks that the L1 and L2 liquidity manager tokens match the addresses provided as `remoteToken` and `localToken`. ## Solution Get liquidity managers token in bridge constructor and save for reuse, upon calls to `GetTransfer()` use the address to compare with `remoteToken` and `localToken`.
There are a lot of breaking changes in 6 so it's not an easy upgrade. I made the dev-server work, but build is still failing. That is the only thing left to fix in this PR.
@rupurt Resize package is not working properly anymore so you might want to take a look. I commented it out as it was making the website crash.
Also @rupurt
react-static
no longer ships with routing capabilities so we need to start using our own. I addedreact-router-dom
, but couldn't make it fully work yet as it's still failing production build on exporting html. Should we instead use the@reach/router
asreact-static
team recommends?