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
Automatically bind scope of all user provided methods. #70
Comments
+1 This would be extremely useful. There are several instances where you explicitly call a helper function, but have to litter your template with I can't think of when a function would be expected to run outside of the component's scope... |
(This was already committed in c9ecbac and should be in 0.4 when it comes out.) |
Should have closed this :) thanks! |
Explicitly guard debug calls
Summary --- Implements `ResizableSplitView` and uses it to allow resizing of the React measures view. This PR also fixes the last PR's known issue where the flamechart does not scroll vertically. Implements #19. Implements #70. Test Plan --- * `yarn lint` * `yarn flow`: no errors in changed code * `yarn test`: no added tests, but everything still passes * `yarn start`: manual testing: * Hover over resize bar to observe color change * Drag resize bar to resize * Resize bar position is clamped and cannot go offscreen or expand beyond the size of the lanes area * Resize bar remains visible on page resize * Content is independently vertically scrollable There are still 3 independent horizontal pan/zoom areas, a known issue carried over from the last PR in this stack. This will be fixed in the next PR.
Summary --- Implements `ResizableSplitView` and uses it to allow resizing of the React measures view. This PR also fixes the last PR's known issue where the flamechart does not scroll vertically. Implements #19. Implements #70. Test Plan --- * `yarn lint` * `yarn flow`: no errors in changed code * `yarn test`: no added tests, but everything still passes * `yarn start`: manual testing: * Hover over resize bar to observe color change * Drag resize bar to resize * Resize bar position is clamped and cannot go offscreen or expand beyond the size of the lanes area * Resize bar remains visible on page resize * Content is independently vertically scrollable There are still 3 independent horizontal pan/zoom areas, a known issue carried over from the last PR in this stack. This will be fixed in the next PR.
This is the common case - let's make it the default, so you don't need to wrap methods in
React.autoBind
.The text was updated successfully, but these errors were encountered: