{"id":29020367,"url":"https://github.com/appbaseio/appbasereact-needsupdate","last_synced_at":"2025-06-26T01:05:29.024Z","repository":{"id":149037684,"uuid":"45590971","full_name":"appbaseio/AppbaseReact-needsupdate","owner":"appbaseio","description":"React mixin of appbase integration. ","archived":false,"fork":false,"pushed_at":"2015-11-06T04:45:26.000Z","size":1304,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-06-19T03:06:40.556Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/appbaseio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-11-05T05:55:23.000Z","updated_at":"2016-07-09T07:46:52.000Z","dependencies_parsed_at":"2023-04-12T04:16:11.468Z","dependency_job_id":null,"html_url":"https://github.com/appbaseio/AppbaseReact-needsupdate","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/appbaseio/AppbaseReact-needsupdate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appbaseio%2FAppbaseReact-needsupdate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appbaseio%2FAppbaseReact-needsupdate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appbaseio%2FAppbaseReact-needsupdate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appbaseio%2FAppbaseReact-needsupdate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/appbaseio","download_url":"https://codeload.github.com/appbaseio/AppbaseReact-needsupdate/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appbaseio%2FAppbaseReact-needsupdate/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261978910,"owners_count":23239417,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-06-26T01:05:27.666Z","updated_at":"2025-06-26T01:05:29.002Z","avatar_url":"https://github.com/appbaseio.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AppbaseReact\nReact mixin of appbase integration. \n\n## To use appbase mixin\n```\nvar Container = React.createClass({\n    mixins:[AppbaseReact],\n    ....\n```\n\n##  bindArray\nTo get streaming result in array, you can use this method, it will update you with new data and merging them in Array.\n```\nthis.bindArray(searchQuery,'search_response');\n\n//here searchQuery is Appbase stream query\n//Example of searchquery\nvar searchQuery = this.appbaseRef.searchStream({\n  type: \"tweet\",\n  body: {\n    query: {\n      match_all: {}\n    }\n  },\n  streamOnly:true\n});\n```\nin this example you can access response data by using \"this.state.search_response\"\n\n## bindObject\n To get streaming result in object, you can use this method, it will always update you with new data.\n```\nthis.bindObject(searchQuery,'search_response');\n\n//here searchQuery is Appbase stream query\n//Example of searchquery\nvar searchQuery = this.appbaseRef.searchStream({\n  type: \"tweet\",\n  body: {\n    query: {\n      match_all: {}\n    }\n  },\n  streamOnly:true\n});\n```\nin this example you can access response data by using \"this.state.search_response\"","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappbaseio%2Fappbasereact-needsupdate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fappbaseio%2Fappbasereact-needsupdate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappbaseio%2Fappbasereact-needsupdate/lists"}