Dress to Impress, a big fancy Neopets customization tool!
Emi Matchu
1f1c6d92b1
Ah whoops, I didn't notice that, when Turbo morphs the `<measured-container>` into what the server HTML returns, it deletes the `style` attribute we were using. In this change, I refactor for `MeasuredContainer` to be the component rather than `MeasuredContent`, so that it can also be responsible for listening for changes to its own `style` prop, and remeasuring when they happen. We're also careful to avoid infinite loops, by only doing this when the property is missing! (Otherwise, setting `--natural-width` triggers the callback again, oops!) |
||
---|---|---|
.devcontainer | ||
.husky | ||
app | ||
bin | ||
config | ||
db | ||
deploy | ||
lib | ||
public | ||
test | ||
vendor | ||
.eslintrc.json | ||
.gitignore | ||
.ruby-version | ||
.solargraph.yml | ||
.yarnrc.yml | ||
config.ru | ||
falcon.rb | ||
Gemfile | ||
Gemfile.lock | ||
LICENSE.md | ||
package.json | ||
Procfile.dev | ||
Rakefile | ||
README.md | ||
yarn.lock |
Dress to Impress
Oh! We've been revitalizing the Rails app! Fun!
There'll be more to say about it here soon :3