Skip to content

Conversation

yichiang
Copy link
Collaborator

Enable Select checkbox without jumping out of the page.

Change the data structure on index.js.

(Ref will trigger render whole application and thus disengaged the userArtice table from Index.js )

database.ref('news').on('value', snapshot => {
    const newsStore = snapshot.val();
    database.ref('users').on('value', snapshot => {
      const usersStore = snapshot.val();
      database.ref('userBooks').on('value', snapshot => {
        const userBooksStore = snapshot.val();
.....
      );
    });

I tried to find firebase API to ref selected table, but unfortunately, I haven't find it

@geetotes Hi Lee, check there is any problem if you might merge to master. Thank you.

@yichiang yichiang closed this May 23, 2017
@yichiang yichiang deleted the updateCheckbox branch May 23, 2017 06:07
@yichiang yichiang restored the updateCheckbox branch May 23, 2017 14:06
@yichiang yichiang reopened this May 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant