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 Jan 31, 2023. It is now read-only.
QuickStart was an API for initializing a contexture tree using react components, with no config object necessary. It was taken before its time 😢
The API relied on mobx-react's Provider (now deprecated) to inject the contexture tree into the components, along with functionality in the old injectTreeNode HOC (now contexturify) that would automatically generate tree nodes if certain parameters were given. That functionality was only useful for QuickStart, and is being removed in 2.0 along with Provider support.
To restore QuickStart, we'll need to:
reimplement the tree injection using React context, and
add a new HOC to handle the auto-add functionality (should be composable with withLoader).
Here is the old story to illustrate how the API worked:
Now that we have SearchTree as a component (which is a noop props container consumed by the filter list), we can add similar components inside it to recreate this API.
We should avoid doing this in the existing components as it complicates their implementation considerably, but we can do this entirely within SearchTree. This won’t cover the results, etc cases, but is the right direction to head in
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
QuickStart was an API for initializing a contexture tree using react components, with no config object necessary. It was taken before its time 😢
The API relied on mobx-react's
Provider
(now deprecated) to inject the contexture tree into the components, along with functionality in the oldinjectTreeNode
HOC (nowcontexturify
) that would automatically generate tree nodes if certain parameters were given. That functionality was only useful for QuickStart, and is being removed in 2.0 along withProvider
support.To restore QuickStart, we'll need to:
withLoader
).Here is the old story to illustrate how the API worked:
The text was updated successfully, but these errors were encountered: